Why is my function not triggered by a click?
4 answers
Since the DOM is not loaded yet :
$(document).ready( function() { // ...your code... } ); +10
$('.pp').click(function() { alert(); });
asdf
...">Since the DOM is not loaded yet :
$(document).ready( function() { // ...your code... } );