[jQuery] Problem with text() and html() in IE6

[jQuery] Problem with text() and html() in IE6

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=977333115-27032007><FONT face=Arial color=#0000ff size=2>Sorry
to bug folks... but does anyone have a suggestion for me on this one or a hint
as to where to look?</FONT></SPAN></DIV>
<DIV><SPAN class=977333115-27032007><FONT face=Arial color=#0000ff size=2>I'm a
wee bit lost.</FONT></SPAN></DIV>
<DIV><SPAN class=977333115-27032007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=977333115-27032007><FONT face=Arial color=#0000ff
size=2>Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=977333115-27032007><FONT face=Arial color=#0000ff
size=2>Allex</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] <B>On Behalf Of
</B>Smith, Allex<BR><B>Sent:</B> Monday, March 26, 2007 3:11 PM<BR><B>To:</B>
jQuery Discussion.<BR><B>Subject:</B> [jQuery] Problem with text() and html()
in IE6<BR><BR></FONT></DIV>
<DIV><SPAN class=717380722-26032007><FONT face=Arial size=2>I have a fuction
where I pass in a value and then look for a match inside of a select
box...</FONT></SPAN></DIV>
<DIV><SPAN class=717380722-26032007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=717380722-26032007><FONT face=Arial size=2>display =
$('#premise-data').find('option').filter('[@value=' + value +
']').text();</FONT></SPAN></DIV>
<DIV><SPAN class=717380722-26032007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=717380722-26032007><FONT face=Arial size=2>Works great in
Firefox, but fails in IE6. Why I say the problem seems to lie in text()
or html() is that when I drop the .text() off I get what I would
expect.</FONT></SPAN></DIV>
<DIV><SPAN class=717380722-26032007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=717380722-26032007><FONT face=Arial size=2>Any ideas where I
am going wrong?</FONT></SPAN></DIV>
<DIV><SPAN class=717380722-26032007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=717380722-26032007><FONT face=Arial
size=2>Allex</FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/