29th October 2008, 22:01
|
Member
|
|
Join Date: Sep 2008
Posts: 2
|
|
Quote:
Originally Posted by johnake
Phi, that is a bug specific to Internet Explorer, when you set the innerHTML property of the Select object, the changes do not take effect correctly.
If you must use innerHTML, a workaround is to use a Div object to wrap the SELECT element and then set the innerHTML property for the Div object.
Don't know XAM's code, not really interested either but I can give you an example:
Or you could follow this guide: DOM Scripting: Fixing innerHTML
The use of innerHTML isn't recommended by W3C either.
Cheers!
|
thank you very much.. i'll try to fix it with this..
|