- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 1
4 Posted Topics
The issue is that [B]IE does NOT support using the .innerHTML property to *Set* the content of a Select List[/B]. (see bug report below) [URL="http://webbugtrack.blogspot.com/2007/08/bug-274-dom-methods-on-select-lists.html"]http://webbugtrack.blogspot.com/2007/08/bug-274-dom-methods-on-select-lists.html[/URL] [COLOR="Red"]This is broken in IE6, 7 and 8[/COLOR] (and has been noted by Microsoft as a "wont fix" bug) For IE you'll need to use …
Yes, in your remove code you are trying to remove an ID (e.g. a string/number, not a node)... add this line to your remove function. [code] function removeAdditionalFile(divNum) { var d = document.getElementById('addToDiv'); var dnNode = document.getElementById(divNum); d.removeChild(dnNode); } [/code]
This is a known issue with IE. It will return any request for the innerHTML or outterHTML as a mess of UPPERCASE tags, with attributes with no double quotes, style content exploded, re-aranged and UPPERCASE, with non-self closing tags... e.g. br, hr, img, link... etc. A discussion about this can …
Internet Explorer will not let you set inline event handlers using the DOM .setAttribute() method (see this bug report): [URL="http://webbugtrack.blogspot.com/2007/08/bug-242-setattribute-doesnt-always-work.html"]http://webbugtrack.blogspot.com/2007/08/bug-242-setattribute-doesnt-always-work.html[/URL] You also can't set the name of the field (if you wanted to) due to this bug: [URL="http://webbugtrack.blogspot.com/2007/10/bug-235-createelement-is-broken-in-ie.html"]http://webbugtrack.blogspot.com/2007/10/bug-235-createelement-is-broken-in-ie.html[/URL] Rumor has it that both of these bugs will be fixed in …
The End.
xyzweb