na kliknutie jquery
$( "#dataTable tbody tr" ).on( "click", function() {
console.log( $( this ).text() );
});
na kliknutie jqueyr
//Click for event to trigger
$( "#target" ).click(function() {
alert( "Handler for .click() called." );
});
trieda onclick jqery
$(".addproduct").unbind().click(function(){
//do something
});
trieda onclick jqery
$(document).on('click','.addproduct', function(){
//your code here
});
udalosť onclick v jquery ajac
$('a').click(function(){
$.ajax({
type: "POST",
url: "mysimplepage.php",
async: true,
data: { logDownload: true, file: $(this).attr("name") }
});
return false;
});
na kliknutie jquery
$( "#target" ).click(function() {
alert( "Handler for .click() called." );
});