jquery click function
$( "#target" ).click(function() {
alert( "Handler for .click() called." );
});
jquery click function
$( "#target" ).click(function() {
alert( "Handler for .click() called." );
});
jquery onclick function
$( "#other" ).click(function() {
$( "#target" ).click();
});
css click event jquery
$('h1').click(function () {
$(this).css('color', 'blue')
});
on click jquery
$( "#dataTable tbody tr" ).on( "click", function() {
console.log( $( this ).text() );
});
on click jquery
$( "#target" ).click(function() {
alert( "Handler for .click() called." );
});
jquery .click function call
function example() {
}
function exampleParams(string, number, bool) {
}
//to call a function onclick without passing arguments
$(selector).click(example);
//to call a function onclick and pass arguments
$(selector).click(function() {
exampleParams("string example", 3, true);
});
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