Answers for "onclick class event jquery"

CSS
2

css click event jquery

$('h1').click(function () {
        $(this).css('color', 'blue')
    });
Posted by: Guest on March-05-2020
0

onclick event in jquery ajac

$('a').click(function(){
$.ajax({
type: "POST",
url: "mysimplepage.php",
async: true,
data: { logDownload: true, file: $(this).attr("name") }
});
return false;
});
Posted by: Guest on July-28-2020

Browse Popular Code Answers by Language