From: Eric Bednarz on 8 Jan 2010 17:39 Using the DOM module at <http://www.cinsoft.net/mylib-builder.asp> and given <input readonly> as the first element of type INPUT in a HTML context, API.getAttribute( document.getElementsByTagName('INPUT')[0], 'readonly' ) returns an empty string in Firefox 3.5, Opera 10.10, Safari 4, Google Chrome 4 beta (all on OS X) and Internet Explorer < 8. Amazingly IE 8 seems to be the only browser to get the getAttribute method of the Element interface right (in this respect), and that even without using any wrapper methods. Bummer :-)
|
Pages: 1 Prev: FAQ Topic - What is the Document Object Model (DOM)? (2009-11-26) Next: eval(string) scope ? |