Possible Duplicate:
Get the text after span element using jquery
I am trying to select the text next to a span element.
I have
<span class='spanClass'>span text</span>
test this string....
I used
$('.spanClass').next().val() ->give me undefined....
//how to get the 'test this string....'?
Thanks for the help.