Share the code
$("#button").live( "click" , function() { console.log( "click!" ); // jQuery 1.3+ }); $(document).on( "click" , "#button" , function() { console.log( "click!" ); // jQuery 1.7+ });
No comments:
Post a Comment