A link $.each($(\'a\'), function(index,value){ alert (value) });
It will alert : url. Why this happen
url
value is HTMLAnchorElement object, HTMLAnchorElement.toString() method return its url attribute.
value
HTMLAnchorElement
HTMLAnchorElement.toString()
alert will use .toString() when display an object.
alert
.toString()