mrkeck Sharing the Love

25Feb/140

What is being clicked?

Sometimes with onclick stuff isn't happening as expected so I do

$(document).on('click', function (e) {
	console.log(e.target);
});

which tells me what is receiving the click

Filed under: jquery Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

No trackbacks yet.