|
Refreshing page at onResize event: problem with Firefox Hi, i need to refresh page cathcing "onResize" event. I wrote this code: <body onResize="javascript:winodw.location.reload(true); return true;"> On I.E. it works, but it doesn't work on Firefox. Someone knows why? Thanks in advantage! ... 29 Aug 2005 23:42
getElementsByTagName I am trying to parse responseXML from an HTTP request. var doc = request.responseXML; var elements = doc.getElementsByTagName("*"); the last statement returns an empty collection when running from IE6. It returns the expected collection when running under Firefox or Mozilla. Anybody can explain ? ... 13 Jul 2005 07:20
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
(event.keyCode==8) BACKSPACE problems Are there any gotchas using if (event.keyCode==8)? I understand that to represent backspace, but it doesn't work. I am running Windows XP, using a typical keyboard - but no luck in detecting backspaces. Anyone have experiences with this? ... 22 Mar 2005 18:48
XmlHttpRequest & responseXml Hi All, I am using XmlHttpRequest object within Firefox to get a xml document from the servlet. The reponseText is set but the responseXml is null. My Code is: req = new XMLHttpRequest(); req.open('GET', './transform?resource=xul', false); req.send(null); When I print rq.getAllHeaders it says: ... 17 Mar 2005 20:09
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
XMLHttpRequest and garbage collection I got the following error: Error: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" .... with Firefox when using XMLHttpRequest. What's happenening? Is the object being garbage collected before the... 27 Feb 2005 07:17
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
Applet Mayscript JRE 1.4.2_03 : sun.plugin.javascript.ocx.JSObject.eval Hi, I have an applet that communicates with Javascript on the webpage using Netscape's liveconnect. It was working till recently using Microsoft VM. The applet was signed using the Microsoft Authenticode Technology. But just this week, I have installed JRE1.4.2_03 and created the same applet in a jar and also ... 14 Feb 2005 19:20 |