jquery click function
$( "#target" ).click(function() {
alert( "Handler for .click() called." );
});
jquery click function
$( "#target" ).click(function() {
alert( "Handler for .click() called." );
});
class onclick jqery
$(document).on('click','.addproduct', function(){
//your code here
});
jquery click event
$('#selector').on('click',function(){
//Your code here
});
jquery onclick function
$( "#other" ).click(function() {
$( "#target" ).click();
});
css click event jquery
$('h1').click(function () {
$(this).css('color', 'blue')
});
jquery is triggered on every element with class name
$(".yourButtonClass").on('click', function(event){
event.stopPropagation();
event.stopImmediatePropagation();
//(... rest of your JS code)
});
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us