15,700 Topics
![]() | |
i have a div that is hidden.After calling a function i just give the code as follows for making the div visible. the code is document.getElementById("divid").style.display="block"; it works in IE but not in Mozilla(3.0.3) have any idea? thanx in advance... | |
I'm working on a problem that I thought would be common but so far I haven't been able to find a good solution. I need to create a scrolling map that works similar to google maps (only more simplistic). The page will display a 500X500 pixel image which is itself … | |
Hi All I have a google code project running at the moment to develop a simple-standards web-based slides show system (code.google.com/p/easyslides) At the moment there are several .css and .js files as well as images in one folder and a seperate HTML file. I want to be able to provide … | |
[quote] Once my dynamic table is populated with names entered by user, it should no longer include the initial text: Your name list is empty. Can anyone help me with this final code? [/quote] [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>My Dynamic Table</title> <script … | |
Hello all. I have a problem with my site. Well there are some times that when i click on a link from the recent activity I get my custom error 404 page. This happens when the url is [url]http://domain.com/[/url]............. The problem is solved and i can get inside the link … | |
Hey, I have created a searcher on my companies website that displays products that we sell. It displays the code, price, blah blah blah. basic stuff. but anyways i want to display some information for the product not on the page but on a tooltip like screen. I know a … | |
Hello all. I have this problem. I have a div with inactive buttons in a jsp page, buttons like select all | add to basket | compare | .... and some java logic determining whether any products (coming from a backend) are found on page load. I want to make … | |
Hey all, I have a very simple collapsible panel which is working fine right now, but I am trying to make the expanded item's text bold "Without doing a post back or use of links". Here is the code: [CODE] <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Collapsible Panel Test</title> </head> … | |
Here is my code what is my problem. I need a window to open up that says ok or cancel. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang = "en" dir="ltr"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859- 1" /> <title>Exit Row Requirements</title> </head> <body> <script type="text/javascript"> /* … | |
At the moment I have a normal ajax example that refers to an xml file. This xml file is a conversion of a mysql database file I have. Now I wish to cut out the middle man (xml) and refer straight to the database. Any Ideas on how I would … | |
Hey, Right now I'm working on a login system for my site. The user enters their info, the info is sent to the php page through ajax, the php checks if the input fields are empty and checks if the info is correct. If fields are empty or the info … | |
I'm trying to create a tag like routine for music genres. I have an array with various music genres in it. Those genres appear in a select box so they can be added to a text area... The problem is, I want to be able to add multiple genres instead … | |
I have a flash website i'm looking for the script who makes google ads with flash. how can i get it? | |
Hello, I need to resize an I-fame according to the height of an external page. I have found some google code that does what I need but it is way bloated. Anyone how to do what this code does but with less bloat? Thanks in Advance! [CODE] ( function(){ var … | |
I have designed a Registration form with the help of HTML. Here in the tage <form> I have given the action to the JSP page. (e.g. <form name="form1" action="sample.jsp">) . I have to validate this form bu javascript. The form is validated on clicking the Submit button of the form. … | |
i have one statement .that statement has two combo field(Entered/Approved) . when combo field is marked as Approved then date isto be moved to date field.and date should not moved to date field when entered is selected from combo feild i mean i want to move todays date if and … | |
My program should allow to display prompt box to enter values for a b and c and should display message in prompt box like "invalid number please enter number again" for a if a ==0 and a is not a number. Same with b , but b can be equal … | |
I have been doing research and to be able to make a scrollable drop down box requires javascript I have been informed. Can anyone help me with this or a tutorial? Example code: [code] <select name="cars"> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="fiat" selected="selected">Fiat</option> <option value="audi">Audi</option> </select> [/code] Goals: - Only … | |
Hi all, I'm trying to add 3 rows on a click of a button and each row has 14 columns with text boxes and 4 of these textboxes has onblur events which dont work in the new rows added can someone help me with this problem the functions i tried … | |
Hi everyone, Many thanks for looking. Here's the problem. I have a form with three option buttons. Depending on what one the user clicks on I need a particular div to be shown, while the other two divs are to be removed. The only problem is that the removeChild doesn't … | |
I have a website SNIP The website allows the customer to upload affilliate banners, the affilliate code is normally a js file piece of code which the client adds to the website, the client cannot modify that piece of code as the .js file sits on the affiliate companies website. … | |
i have tried a few tutorials but i cant get this working. I am trying to create a div with the id of overlay and insert it right after the body tag when a function is run. can anyone help? thanks | |
Hi all I was wondering if someone can let me know of a quick and easy way of interacting with a Javascript control on a web page. "<a href="#p189191" name="option66" onclick="selectPollOption(66);" class="vote">Vote</a>" That's the control I would like to activate, I was thinking I could use a regular expression to … | |
I need to get all children of a DIV and their children too. I mean I need to get the HTML text of a DIV but I don't like to use innerHTML since it does not support the values of inputs in many browsers. How can I do that? :-/ | |
hi i have a parent window with an external url iframe. when the parent loads i want to set the iframe footer to display:none;. is there a way to do this? i have looked all over w/no luck. thanks | |
I have two pages 1.) form page 2.) I-frame page. What I am trying to do is: Once the form page is submitted, javascript in the second page would retrieve the values and place them into a an I-frame with a given url. Example: === Page One === <form action="page123.html"> … | |
How do I use a submit function to ensure that a name field only has letters, zip code field only has numbers, etc. w/ Javascript when submitting a form? | |
Hi, Button below opens new popup window but doesn't send POST data from form. How can i send POST data? I know "form action" but, i want this way. Thanks [code] <input type="submit" name="buttonUnit" value="Add" onClick="window.open('add.php','Done','width=400, height=130')"> [/code] | |
i wonder how can write a JS variable inside HTML here's the Line: var texture=document.getElementById('texture').value; formdiv.innerHTML = formdiv.innerHTML +'<td align=center> JS VARIABLE TEXTURE</td>'; any help is appreciated | |
Can somebody help me with the code on how to capture the line number at the current cursor position?. | |
Hi , I am having a very strange issue with a piece of DHML on I.E 6, attached code. Here is the scenario. There are two html files, run 1.htm. The Drop down has a default value, if you click on populate button, a JavaScript will re populate the drop … | |
i have a form which contains a combo box and a table ...i need when the user selects an option the page be reloaded but with the table contains the new data for the option he choosed from the combo box can anyone help | |
[code=javascript] <SCRIPT language=JAVASCRIPT type=text/javascript> <!-- /*Callout: Here the image objects are stored in an array.*/ var mySlides = new Array(); mySlides[1] = new Image(); mySlides[2] = new Image(); mySlides[3] = new Image(); mySlides[4] = new Image(); mySlides[5] = new Image(); mySlides[6] = new Image(); mySlides[7] = new Image(); mySlides[8] = … | |
For example, I want to upload 10 files to a website. However, that site will only allow me to upload 1 file at a time. I want to write a script that will help me upload those 10 files one after the other on its own. How many ways can … | |
Hi all. I am currently developing a CMS for a school project and I wanted to add the function to check, real-time, if a username is already taken. It should be a little bit like what happens when you register for a Gmail or Yahoo! account. Basically, while the user … | |
What I want to do is submit posts to more than one forum | |
:) Hi guys! I need a little umm assurance that I am not going crazy. Some advice or opinions would be great and appreciated! I was making an easy to use webpage >> [url]www.greenbolnyc.com/pearl4/commonshapes.htm[/url] Basically its a gallery that uses disjoint images. The javascript that controls the clickable functions can … | |
Hi Guys, I am having heaps of trouble with a javascript onmouseover, can someone have a look and see if I am missing anything, I have exactly the same code running on another page and its making me crazy. Not working page [url]http://www.lostandlonesome.com.au/shopNew.php[/url] Working page [url]http://www.lostandlonesome.com.au/bandsNew.php[/url] Thanks | |
Hi guys, I have a media player that opens its own window and works fine with Firefox but it's not working for internet explorer. Been trying for ages and lots of different suppose solutions but still no go. The only thing that happens when you click the link is, bottom … | |
I am trying to write a simple program to calculate income taxes owed based on gross wages that are input by a user. The HTML page needs to accept the input (wages from 4 users) at once and then utilize a button to submit the information to an external javascript … | |
hi, i want to disable the parent window when i opened the child window using javascript and html. i have written code like this.but its working only one time.any one knows pls help me in this situation. s.html <html> <head> <SCRIPT > function popuponclick() { my_window = window.open("p.html", "mySelect", "status=1,width=750,height=450,resizable=no"); … | |
hi all, i have a script using php where i can add a frame selected by user to an image where user uploades, my problem is how can i add text to that image and the text should actually should be movable all over image thank u in advance | |
PLZ I NEED HELP WITH THAT: <option value="1" >option1</option> how can i color this option or highlight it the MAIN problem is i have a drop down menu for parents and their child categories so i need to highlight the parents :( | |
Is it possible to execute Perl code from java script? I have installed apache-tomcat for the same. In which folder should I paste the html file and the Perl file (uses cgi module) ? | |
I have a browser incompatibility issue when using appendChild() to add form elements "on the fly." Works great in Firefox but not in IE. I'm adding table rows that contain <input type='text'> elements. I know that the rows are being added to the table because the count of table rows … | |
Hi, I am new to Javascript. I am designing one page in which i want to fill the 2 form fields through the pop up window. In the parent window i have 2 input fields Name _________ Search Roll No _________ What I want is when ever user click on … | |
I am trying to use an Ajax request with a port, when I have it say: [code=javascript] var url = "oneadvent.viewnetcam.com/CgiImageTransfer"; alert('Hello1') xmlhttp.open("POST", url, false); alert('Hello2')[/code] I get to Hello 2, however when it is [code=javascript] var url = "oneadvent.viewnetcam.com:50001/CgiImageTransfer"; alert('Hello1') xmlhttp.open("POST", url, false); alert('Hello2')[/code] I dont get even the … | |
i need to add an option from list1 to list2 when the user clicks on ADD to List button but sth is wrong with my code it's not working function AddItem() { var opt = document.getElementById("List1").selectedIndex; document.getElementById("List2").options.add(opt); } can anyone tell me whats wrong ??!!!!!! |
The End.