[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=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></BODY></HTML>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/