Using this with a target
Using this with a target
I can output this() to a console.log(). How do append it to a div as I cannot chain this().
$(document).ready(function(e) {
$('a').click(function(){
data = $('a').attr('data-urlrdir');
console.log($(this).data());
});
});
Topic Participants
ottz
jakecigar
kbwood.au