After reading this article net.tutsplus.com/tutorials/javascript-ajax/14-helpful-jquery-tricks-notes-and-best-practices/ I came to conclusion that using this.href<
what a but a little substring?
for example :
function getHref(a) { var i = a.outerHTML.indexOf('href="')+6; return a.outerHTML.substring(i, a.outerHTML.indexOf('"', i)); }
P.S TESTED!