Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

onclick not getting called from dynamic generated data

$(function() {
    $(document).on("click", '#mydiv', function() {
        alert("You have just clicked on ");
    });
});
 
PREVIOUS NEXT
Tagged: #onclick #called #dynamic #generated #data
ADD COMMENT
Topic
Name
6+5 =