Hi together,

I use jQuery for my daily work. Today I encountered a strange problem:
If I write a list of OPTIONS into a SELECT box by using JavaScript
this works fine in Firefox either with jQuery and also without. But
when the list of options starts with a html-comment jQuery removes all
the options and only displays the text.
I've tested it in Firefox (wich has problems), Opera (works fine),
Konqueror (works fine), IE6 (has more problems).
I've uploaded an example at:
http://www.schwarzdennis.de/tmp/jQuery_test1.html

Is it a bug of jQuery or a bug of the Browsers or is it not allowed to
put comments before OPTIONS?

Greets
Dennis

Reply via email to