[jQuery] LOADING DATA and Returning a VAR - an odd inconsistancy
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=968001014-18092006><FONT face=Arial color=#0000ff size=2>It's
probably just a mistype, but your div has an id of msuic, while you're trying to
reference "music".</FONT></SPAN></DIV>
<DIV><SPAN class=968001014-18092006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=968001014-18092006><FONT face=Arial color=#0000ff size=2>Also,
what are you trying to reference with your $() call? $("div#music",html)? Why
not just reference #music?</FONT></SPAN></DIV>
<DIV> </DIV>
<P><FONT size=2><!----------------//------<BR>andy matthews<BR>web
developer<BR>certified advanced coldfusion programmer<BR>ICGLink,
Inc.<BR>andy@icglink.com<BR>615.370.1530
x737<BR>--------------//---------></FONT> </P>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader 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>Sam
Sherlock<BR><B>Sent:</B> Monday, September 18, 2006 9:03 AM<BR><B>To:</B>
jQuery Discussion.<BR><B>Subject:</B> [jQuery] LOADING DATA and Returning a
VAR - an odd inconsistancy<BR><BR></FONT></DIV>after using .get i am
extractng various nodes all works well except the music
node<BR><BR>eg:<BR><BR><BR><div id="msuic">14</div><BR><BR>in this
case I would expect the following to return
14<BR><BR>$("div#music",html).text()<BR><BR>it often return a blank value,
even though firefox's consiole window display the correct node
value<BR><BR>very odd and frustrating since it does work sometime and does not
at ofthers???? <BR><BR>the value is passed onto a function that calls a flash
function to play the music track associated track<BR><BR>or do I need to find
another way???<BR><BR>thanks - Sam<BR></BLOCKQUOTE></BODY></HTML>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/