Answers for "simple jquery button click example"

6

jquery onclick function

$( "#other" ).click(function() {
  $( "#target" ).click();
});
Posted by: Guest on June-03-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

Code answers related to "Javascript"

Browse Popular Code Answers by Language