Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery click on data attribute

    $( "[data-spinner]" ).live( "click", function () {
        console.log('clicked');
    } );
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #click #data #attribute
ADD COMMENT
Topic
Name
3+4 =