Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

dynamically added button onclick not working

$(document).on('click','.button',function() {
  alert('Clicked');
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #dynamically #added #button #onclick #working
ADD COMMENT
Topic
Name
3+7 =