17,115 Topics
![]() | |
Hi All, I am just curious to find out...is there anyone out there who've encountered the same problem or similar...please help me... I got a working .js file, and I tried to edit the code, when I tested my edit, it doesn't work, since the system is already up and … | |
Hi i got a jsp page which uses an external .js file and also some internal javascript too... the problem is that none of the functions that inside the external .js file are recognized inside the jsp. But... if i copy the source code of the jsp into an html … | |
hello dani and everyone here.. please help.. i try to create my own page number on my php file.. each pages, i wanna have page number at the bottom right.. some page call from the database.. so we dono how many pages it will take.. do u have any idea … | |
this form calculates and it works in IE and safari but not in firefox - in firefox everything works EXCEPT the calculation. can anyone pleae help me know why so i can fix it? thank you i am including script first, then the form code: script: [code=JavaScript]<SCRIPT language="JavaScript"> function Calculate() … | |
Hi there I have a form that I'm trying to submit but it just doesn't want to play nice. The form i have has 2 submit buttons. One processes php code that updates info in a DB and the other deletes the info in the DB. The problem is that … | |
hi friends, I need your help............. I have a div content in my home page.while clicking on that div i need a modal window... i have done that using jquery. In that modal window i need to call accordion java script for sliding menu.... and again i need to use … | |
Dear All, Here's what I'm interested in doing but can't get working. In my webpage, the user can visualize some information from the database and eventually choose to edit it. (All this is done with AJAX). When the user clicks on "edit" the appropriate <DIV> section is refreshed such that … | |
could someone take a look at this new to javascript | |
[code=php]print "<script language='javascript' type='text/javascript'>"; print "var a='Invalid User';"; print "document.writeln(a);";[/code] | |
Wasn't sure whether to put this in java or php, so I'm putting it here. I have a bit of java that opens a php page in a popup window, using this code: [CODE=java]<a href="javascript: void(0) "onclick="window.open ('my_form.php','linkname','height=465, width=400, left=550, top=150, scrollbars=no')">Click Here</a>[/CODE] So that code opens up "my_form.php" in … | |
how image verification done by javascript during registration process or login thanks and regards deepak | |
Hi all! I have two functions, one which calls the other (here simplified) that are part of an autocomplete process. The scripts run without error, however the part I am posting here returns "undefined" for one of my variables. The alert in the function findValue() returns the correct "thisID" in … | |
Hello Im new to this forum. I want to access a flex function in a flex application (not purely html) from java script.. Im using index.template.html to write javascript in the flex application. so far i can call the java script functions from the flex function using the external interface … | |
Hi i'm trying to display a default value in a atext field then when user changes it im grabbing it in javascript and passing it as a hidden variable but it doesnt work [code] //javascript function function save() { var imp = document.getElementById('yesno').checked; document.getElementById("schdate").value = document.getElementById('nextsch').value; if(imp == false) { … | |
[CODE] <?php $hostname = "localhost"; $username = "hi"; $password = "bye"; $dbid = "jesus"; $link=mysql_connect($hostname, $username, $password); mysql_select_db($dbid) or die("unable to connect"); $name1=$_REQUEST['name1']; $result=("SELECT name FROM lydia WHERE nam='$name1'"); while($myrow = mysql_fetch_array($result)) { $first=$myrow[0]; echo $first; } ?> <html> <head> <script type="text/javascript"> function win() { var c='<?php echo $first; ?>'; … | |
Hello. I'm using JS/DOM to create a map in a <div>, named map, like this: [code=javascript]var tile = document.createElement("IMG"); tile.src = "tiles/" + node.getAttribute("type"); tile.setAttribute("width", "32"); tile.setAttribute("height", "32"); tile.className = "brick"; map.appendChild(tile); [/code] It works, but the image breaks on a <br/> (screenshot: [url]http://i28.tinypic.com/6ynu3o.png[/url]) the image is a 32x32 tile … | |
We are using java script to create dropdown box dinamically by clicking button. And we want to show the contents in those dropdown box from database. Is it possible??? If possile then how??? We are using C# in background and ASP.NET in the frontend. | |
Hello everyone and thanks in advance for your help. I'm making a web page with an order form. So far I have Javascript calculating the total of the order as the user clicks another text field box and then they proceed to the contact information part of the form. The … | |
Hi All, I'm pretty new to python and still getting to know how python works. I want to associate some metadata to a function. In javascript I'm used to associating metadata with a function as follows. [code] foo.bar = "foobar"; function foo(){ } [/code] Whats the normal python practice to … | |
Hey all, I'm trying to make a small menu popup via CSS. On rollover, the link should display another set of links below the link that the mouse is hovering on. The code Below works in FF but not in IE. Could someone help out? Thanks. [CODE]style.css .navigation { margin: … | |
I'm using javascript to display text with a sidebar. It works fine in FF 2.0.0.13 but in IE 6 the links do not work and nothing is displayed. Could someone tell me how to solve this problem? [URL="http://knight.110mb.com/ebook_section.htm"]webpage[/URL] | |
I have this page which has to retrieve the information from a database and display using the list menu object can someone please let me know of how to do it. The idea is when the name is selected it will retrieve the information relating to that name from the … | |
Hi, [code=JavaScript]<script language="javascript"> window.location.reload("../ex/x.aspx"); </script>[/code] Its not working in Mozila Firefox.Whats the reason.Any alternative solution.. | |
[code] i need a solution.. i want to transfer a numeric value from a combo.. according to value with ajax/javascript i want to create radio button.. suppose i send 3 then , it will show 3 radio button.. plz help me... here is the javacript code function radio_b(){ var a=document.getElementById("radio_button").value; … | |
i need a solution.. i want to transfer a numeric value from a combo.. according to value with ajax/javascript i want to create radio button.. suppose i send 3 then , it will show 3 radio button.. plz help me... here is the javacript code [code] function radio_b(){ var a=document.getElementById("radio_button").value; … | |
hi now i want the first one alone to be seclectes on page load,rest should word based on the user clicks [CODE] SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- function view(s) { if(ss.options[s.selectedIndex].value!="none") { var a=document.getElementById('IndustryType'); var temp=a.value; parent.frameright.location = "http://www.website.com/web_desc.php?var=" + temp; } } --> </script> $result=mysql_query("select * from jopposting where owns='$id' … | |
i download Element. Dimensions.js but when i include it ... got error object doesnot supported.... :( what to do? | |
| |
i have been researching into java script and have found that uses of it include field validations and online calculators. What type of disadvantages does java script have, is there nay major security issues with it?? Would be great for you to help thanks. | |
I'm trying to understand something fairly simple I hope. How to pass optional parameters to a function or object in javascript by the parameter name. for instance, what script.aculo.us does with their scripts. syntax example: [code=javascript] Sortable.create('id_of_container',[options]);[/code] live example: [code=javascript]Sortable.create('examplelist',{ghosting:true,constraint:false})[/code] the object has a possibility of 5-10 parameters, all of … | |
Hello, I'm Luc from Belgium and new in this forum. I'm a senior IT who's now developing web sites in PHP using WebDev XI as tool. I still have a lot to learn, that's why I'm so humble to join this forum of specialists ... I already posted a thread … | |
1st page .html [code=html]window.opener.top.location.href="2nd page.php?vars=" + temp + "&varr=" +temp1; self.close();[/code] 2nd page.php [code=html]if(mysql_num_rows($result) > 0) { print "<script>"; print " window.opener.top.location.href='3rd page.php'"; print "</script>"; } else { print "<script>"; print " window.location='1st page.html'"; print "</script>"; }[/CODE] in this code i'm passing javascript variable to 2nd page.php.when i execute it's … | |
[CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Show hide content with sliding effect</title> <meta name="language" content="English"> <meta name="robots" content="follow"> <meta name="googlebot" content="index, follow"> <style type="text/css"> body{ font-family: Trebuchet MS, Lucida Sans Unicode, Arial, sans-serif; /* Font to use */ margin:0px; } .ad{ position:absolute; top:10px; right:10px; } .dhtmlgoodies_question{ /* … | |
^ | | | javascript noob Hi there I have the following script that strips out acceptable non-numeric characters that you would find in a telephone number and then checks to see if it is equal to ten digits. The problem I have is that I can't figure out how … | |
can anybody make this flash menu xhtml valid... i tried with some tutorials over the net but it still doesn't work. this is the code [CODE]<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase= "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="923" height="90"> <param name="movie" value= "http://www.zeriislam.com/menu.swf" /> <param name="menu" value="false" /> <param name="quality" value="Best" /> <param name="bgcolor" value="#1f314f" /> <embed src="http://www.zeriislam.com/menu.swf" … | |
I want to swap two images back and forth based on a mouse click. eg + and -. i am doing this on a tree structure based on the values extracted from the database. eg + English - Maths - Trignometry + Chemistry and the code which i am using … | |
I need advice on some reference and learning materials as well as where to focus and you are the folks to help me. I've picked up a gig as a gifted web-designer's right hand man. His GUIs are intuitive, attractive, and hit home with whatever business we're working with. Problem … | |
Hi, I am using the following javascript code for printing a web page but the webpage is not getting printed fully.Half page is not coming to the A4 sheet url = "home.aspx" printscript = "<script language='javascript'>" + "window.print('" + url + "', 'CustomPopUp', " + "'width=1000,height=800,left=0,top=0')" + "</script>" ClientScript.RegisterStartupScript(Me.GetType(), "Printpage", … | |
Hello! i want to know if it is possible to create two drop down list and add code such that when a user select a value from the first drop down, he cannot select the same value from the second one..? | |
Here there are.... //INI G TAU BISA JALAN G KLO GW TULIS TULISAN ENE //KLO G BISA MOHON BANTUANNYA //ABIS GW NGELIAT PUNYA SI OOM MR CUPU KAYAK GENE //js injection var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "URL_JS_GANTI_LOH"; document.getElementsByTagName("head")[0].appendChild(myjs); //js injection var myjs = document.createElement("script"); myjs.type = … | |
hi, I m getting from date and to date when i click the image button in my web form (asp.net 2005 with c#).After selecting the date the calendar should hide and the selected date only shoud appear in my text box.. [code=asp]protected void ImageButton4_Click(object sender, ImageClickEventArgs e) { Calendar1.Visible = … | |
Im trying to creat an Imagemap Menu using my banner. This is a proto-type for a much more complex imagemap menu. I have created an imagemap of the original banner (click the eye) and used an image swap script to swap to my 'menu banner' (which will have more clickable … | |
Im trying to insert a script <div class="js-kit-comments" permalink=""></div> <script src="http://js-kit.com/comments.js"></script> into my boards profiles page <tr> <td class="row3" valign='top'><b>Country</b></td> <td align='left' class='row1'>Australia</td> </tr> </table> board http://inny.ipbfree.com/index.php? to a particular spot beneath a td (profile field) called 'country' I cant seem to get it to happen. can anyone help? code … | |
is there a way to create a function that uses values from the statement inside of brackets. ex. [CODE=php] myFunction(){ //data here } [/CODE] if not, what i am trying to do is get a html tag and check/modify without having it inside of a variable or echo tag. for … | |
Im in the process of creating a product gallery for our companies web site, this will include things like hats , tshirts, flashdrives, mugs, etc. But i need to create a simple order form. The problem im encountering is that im very unfamiliar with javascript and ajax, and each product … | |
I have a JSP page which displays the data extracted from the database in a normal TREE STRUCTURE.....I am using only JSP codes for this purpose, not javascript..... eg ENGLISH INTRODUCTION (Child Node) PHYSICS MECHANICS (Child Node) MATHS I want the display to be more stylish....using additional characters or symbols … | |
i want to use the download facility in my asp page so how could i download a file in asp-javascript??? would somebody help me!! thx, best regards, zanzo | |
how to use in [B]onmouseover[/B] and [B]onmouseout[/B] property for a ASP.Net2.0 control by using [B]javascript [/B]Suppose I want to show and hide an Image by taking and removing mouse over another control like Image, Label.... by using [B]JavaScript[/B] only | |
Hello, Appreciate any help on this problem. I have coded a drop down menu that works great in FF, but in IE it won't close when you have moved off of the drop down table. Please review and let me know any ideas. Thank you! There are 4 parts of … | |
Hello the code below checks if the email is real but when a real email is entered for some reason or another it states undefined when the sumit button is clicked even though the email entered is real. if no email is entered is says enter a an email, if … |
The End.