jQuery нажимайте функцию
$( "#target" ).click(function() {
alert( "Handler for .click() called." );
});
Confused Cobra
$( "#target" ).click(function() {
alert( "Handler for .click() called." );
});
$( "#other" ).click(function() {
$( "#target" ).click();
});
$('#selector').on('click',function(){
//Your code here
});
$( "p" ).on( "click", function() {
alert( $( this ).text() );
});
$( "#dataTable tbody tr" ).on( "click", function() {
console.log( $( this ).text() );
});
$("#button").click(function () {
//result show on console.
console.log("Button Was Click");
//console.log(this);
});