I think the reason that doesn't work in IE is because IE does allow you to insert HTML in select objects. If you want have the most browser support you should do something like this:
Var cat = $('category'); cat.options[cat.options.length] = new Option('text','value'); Let me know if you have any questions. Jon Whitcraft Web Application Developer Online Services - Indianapolis Motor Speedway (317) 492-8623 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Farhan Sent: Tuesday, March 07, 2006 11:37 PM To: rails-spinoffs@lists.rubyonrails.org Subject: [Rails-spinoffs] (no subject) Hi all, Can someone please help me with the Insertion.Top not working IE 6? I have an example at http://www.talaha.com/macnn/test_insert.html It works in both Firefox (1.5 Mac/Win) and Safari; but does not work in IE 6. Is this a bug in the scriptaculous lib or am I not doing something properly. Thanks in advance. Cheers. _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs ******************** ******************** This E-mail (and attachments) may contain confidential/privileged information intended only for the named addressee(s). If you are not an intended recipient, do not read, copy, disseminate or take any action based on the content of this E-mail. Please notify the sender by reply E-mail and erase this E-mail from your system. Your assistance is appreciated. E-mail transmission may not be secure or error-free. The company is not responsible for any loss/damage arising from any virus transmitted. ******************** ******************** _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs