javascript - Get a complete a tag and not only the href attribute -
i going through string container tags contains.
var links = container.find("a");             links.each(function(i, txt){    alert(txt); //shows http://some.com instead of <a href="http://some.com">some</a> });   any idea how solve one? thanks
try -
alert(this.outerhtml);      
Comments
Post a Comment