getElementBy... I have the following code: <a href="//www.google.com" id="check"><img name="img1" src='/images/abc.gif' border='0'></a> onClick action I want to print the image name id of the anchor. how do I do that where should I add the onClick action in the anchor or in the image tag? ... 6 Feb 2006 14:09
javascript:false I have a javascript embedded in my page. while opening the page it gives the message "Opening page Javascript:false" what does it mean? ... 31 Jan 2006 15:32
getElementByName is it document.getElementByName or document.getElementsByName? ^ reason I ask is that I have to change ref's in my code from document.all to sthg that works also in FF... so changed something like this docslide = document.all['slide']; docslide... 20 Jan 2006 09:16
How to rotate the image Hi All, Could anyone tell me how to rotate the image in javascript. Which concepts I should concentrate to rotate the image ... 2 Jan 2006 08:53
Getting IFRAME text <iframe name="iframe" width="100%" height="25%" src="test1.txt"> </iframe> <a href="test1.txt" target="input">one</a> <a href="test2.txt" target="input">two</a> <form name="form1"> <textarea name="textarea" cols=80 rows=18> This is a test </textarea><br> <button name="Copy" value="Copy" OnClick="DoCop... 12 Nov 2005 19:10
How to call a js file from another js file? How to call a js file from another js file? ... 19 Oct 2005 02:02
isNum I have been trying to get this code to work and the isNum seem to be giving me a problem and I just cannot figure it out any help would me very much appreciated!! Thanks in advance!!! function SubmitSame() { var usernew, QPSQTY, PTPS, PSSQTY, PSST, ECQTY, ECT, EXQTY, EXT, INQTY, INTA, SKQTY, SKT, CSQTY,... 21 Mar 2005 18:59
execCommand I've read MS documentation, I've searched the discussion threads, I cannot invoke the SaveAs command from a web page. I tried <a href="javascript:window.execCommand(\"SaveAs\");"><click here</a> <a href="javascript:document.execCommand(\"SaveAs\");"><click here</a> I tried passing arguments (\"SaveAs\"... 22 Mar 2005 17:14
How to force a download dialog box How do I force a browser to download a file instead of displaying it? In other words I have a page with MP3 and WMA files on it and I would like for the visitor to download the file instead of play it without having to right-click and save. How can I force the browser to pop up the "save file as" dialog box inst... 1 Mar 2005 19:11
How can I dynamically populate data when selecting an option from a dropdown list? I have a JSP page and it contains a dropdown list called Office. What I try to do is: When I select different office from this list, the information of office (address, phone,etc) will be populated in same JSP page. I have a java bean called officeBean that contains all the office information. My question... 24 Feb 2005 10:11 |