What version of jQuery are you using? --John
On Fri, Jan 16, 2009 at 2:35 AM, floyd <floyd...@gmail.com> wrote: > > Hi all, > Here is my situation. > > HTML Page DTD Type is declared as following > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/ > TR/xhtml11/DTD/xhtml11.dtd"> > > Javascript Code as following > > $("#fp > option[text*='"+subject+"']").remove(); > Where #fp is a <select>...</select> object > > Works fine in IE7 and FireFox 3.0.5 > How can I fix this line or is a bug? > > Thanks in advance! >