referancing div#music or #music equate to the same as long as the node is a div.
I am giving it ago now though
On 9/18/06, Andy Matthews <[EMAIL PROTECTED]> wrote:
It's probably just a mistype, but your div has an id of msuic, while you're trying to reference "music".Also, what are you trying to reference with your $() call? $("div#music",html)? Why not just reference #music?<!----------------//------
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--------------//--------->-----Original Message-----after using .get i am extractng various nodes all works well except the music node
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Sam Sherlock
Sent: Monday, September 18, 2006 9:03 AM
To: jQuery Discussion.
Subject: [jQuery] LOADING DATA and Returning a VAR - an odd inconsistancy
eg:
<div id="msuic">14</div>
in this case I would expect the following to return 14
$("div#music",html).text()
it often return a blank value, even though firefox's consiole window display the correct node value
very odd and frustrating since it does work sometime and does not at ofthers????
the value is passed onto a function that calls a flash function to play the music track associated track
or do I need to find another way???
thanks - Sam
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/