jQuery Cycle pageAnchorBuilder / jQuery Selectors
Posted
by Wes
on Stack Overflow
See other posts from Stack Overflow
or by Wes
Published on 2010-05-16T00:21:10Z
Indexed on
2010/05/16
0:30 UTC
Read the original article
Hit count: 597
I'm trying to grab the source of an image with jquery.
My HTML looks like this:
<div class="featuredSlideImage">
<img src="http://apture.s3.amazonaws.com/0000012865c9e9d984b36217007f000000000001.latte%20heart.jpg"/>
</div> <!--featuredSlideImage-->
My jQuery Selector is:
return '<li>' + jQuery(slide).children(".featuredSlideImage").html(); + '</li>';
which reutrns this:
<img src="http://apture.s3.amazonaws.com/0000012865c9e9d984b36217007f000000000001.latte%20heart.jpg"/>
I was to just return the source of that, sans the HTML. How can I go about this?
© Stack Overflow or respective owner