[jQuery] use variable in $("")?
hi,
can i use variable in $("")? such like this:
var <span style="font-weight: bold;">href </span>= $("#pre").attr("href");
alert($("#thumbnail > li > a [@href=<span style="font-weight: bold;">
href</span>]").find("img").attr("alt"));<br clear="all">
I see no effect. how can do that?
thanks in advance.
--
<a href="http://realazy.org">realazy.org</a>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/