I have a dynamical hyperlink generated via jQuery
. And I don't know how to get value of this element:
<a href="?t-action=' + data[i].pk_id + '" class="transfer">'+ '\ <img src="../images/like.png"...
But if i'm using alert($(this).attr('href'));
The output is ?t-action=12345
Is it posible to get only 12345
?