how to add click wvwnt for element in jquery code example
Example 1: jquery click event
$('#selector').on('click',function(){
//Your code here
});
Example 2: set onclick jquery
$(elem).click(myFunc());
$('#selector').on('click',function(){
//Your code here
});
$(elem).click(myFunc());