I have a main window and a menu window. The menu window is opened from the main window by clicking on "Open Menu". A google window can also be opened from the...
... Oh, the problem is that you're expecting setting an HTML attribute (you should spell that "onclick" by the way, not "onClick") to also set an event handler...
Do you mean you want an (X)HTML page that alters and saves a separate XML document? That is not currently possible with standard browser DOM. If you want to...
Devi Web Development
devi.webmaster@...
Sep 1, 2007 10:37 am
5616
I think we need to be a bit more specific about the terminology here. Reading from an XML file and saving the XML file is not something that would be possible....
That did the trick. I changed the setAttribute line to: newSpan.onclick= function() {eval(win_name+".focus()");} I'm hoping the use of eval is ok. Some people...
... Better way of doing it: newSpan.onclick=function(winobj){ return function(ev){ ev=ev||event; winobj.focus(); }}(winobj); This saves a reference to the...
I'm working on a form validation snippet; my intention is to make it clean, and light on performance, while allowing dynamic controls in it. For that I need to...
Hi, Does there exist a web service which, given a name of DOM interface or method would return a URI (including anchor) pointing to the DOM documentation for...
Dimitry Golubovsky
golubovsky@...
Nov 26, 2007 2:17 pm
5621
... No, but scraping the W3C specs for it shouldn't be a problem. I pesonally just keep a link to <uri:http://www.w3.org/DOM/DOMTR> at hand, and navigate from...
... This might be what you're looking for. * http://www.gotapi.com/ best, Charles...
Charles Stuart
cs@...
Nov 26, 2007 4:47 pm
5623
Hi, I have a web page which contains some machine-generated (from Haskell for the curious) Javascript. This page displays an entry field, and each time a...
Moran, ... Thanks. Unfortunately I could not run this (Drip-0.5) under Wine. But does it use Gecko engine, or MSIE's engine? -- Dimitry Golubovsky Anywhere on...
Hi, ... It's because your markup is invalid. A <tr> can NOT be the immediate child of a <td>. Usually it will be the immediate child of a <table>, but might be...
... Garbage in, garbage out -- a TD can't have a TR as a child. Using invalid markup causes all kinds of interesting problems. :-) -- Hassan Schroeder...
You can use the IE Developer toolbar to see how IE goes mad rendering a <tr> inside a <td> On Mon, Jun 16, 2008 at 5:18 PM, Hassan Schroeder...
Mone
mone@...
Jun 16, 2008 3:53 pm
5631
All the responses so far are correct: it's because your markup is invalid. To explain why this causes the symptoms you're seeing, you need to understand that...
Hi, all I found I can get the img element named with "image1" in a html by using "document.image1" with javascript. It's very convenient because I don't need ...
ray
hantechs@...
Nov 7, 2008 1:18 pm
5633
... Nope. As far as I know, that is a "feature" of Internet Explorer. It's very non-standard and generally a bad idea. Ian...
Ian Petersen
ispeters@...
Nov 7, 2008 2:22 pm
5634
... It might be non-standard, but it works in all browsers I just tested: Opera, Safari, Chrome, IE, Firefox. All on Windows BTW....
... Oh, that's surprising. Good to know, I guess. Ian...
Ian Petersen
ispeters@...
Nov 7, 2008 3:56 pm
5636
... It's a completely non-standard way of doing things, and is a bad idea because it's implementation-dependent. You can't complain if some new browser build...
There is a document.images object that has all the images on a web page. You can access images using array notation like: document.images [1], maybe the...
Chad Oakenfold
chadoakenfold@...
Nov 7, 2008 8:42 pm
5639
It seems it also works on Firefox on Linux, as I tested. ... [Non-text portions of this message have been removed]...
ray
hantechs@...
Nov 10, 2008 6:43 am
5640
Good trick. Thanks ... [Non-text portions of this message have been removed]...
ray
hantechs@...
Nov 10, 2008 6:53 am
5641
Is this the standard way? ... [Non-text portions of this message have been removed]...
ray
hantechs@...
Nov 10, 2008 7:14 am
5642
... Netscape create the DOM Level 0 standard, which has been around for as long as JavaScript. See http://www.quirksmode.org/js/dom0.html -- Paul Wilkins...