Form.Element.Resize hacked again

Thu, 1 Mar 2007 @ 16:22:46 UT
added by Edoardo in bug ie javascript jsan
no comments

A few days ago I've discovered a problem with this cool javascript library and <select> elements in Internet Exploder version 6 and 7.

If you have a selected option in the select, and then you activate the resizable feature on the select element, the selected option is not preserved, the first element of the list is selected instead.

This happens due to a bug, even if the select element with all its descendant nodes is correctly cloned by the cloneNode DOM method and put into the middle cell of the resizable table built by the library.

This bug is well documented here: http://support.microsoft.com/kb/829907.

I think Micro$oft should fix the bug instead of suggest a workaround, the problem was already present in Internet Exploder 5.5, but neither in version 6 nor 7 has been fixed.

To make Form.Element.Resize work properly in Internet Exploder I've already added 2 workarounds in the code; I hope this number won't grow anymore!

Enclosure:

Form.Element.Resize-0.03.tar.gz

Save to del.icio.us