Profil

A rejoint le : 18 mai 2022

À propos



 

Kunci Jawaban Akuntansi Biaya Mulyadi Edisi 5 Rapidshare


Download


 





Q: jquery ajax called by a button with an automatic interval I'm trying to get a jquery ajax call to work and then to get the results to appear on the page. I've got it to work with a button click, but would like to add an automatic interval. So say I'm calling the ajax function with a setInterval function, how would I make it work? And how does one go about getting the information? I'm learning jquery and ajax. My guess is that what I need to do is write a callback to the ajax call to then get the information, but I'm not sure the best way to do this. Would someone help me out with this? Thanks. Untitled Document $(document).ready(function() { $('#click').click(function() { $.ajax({ type: "post", data: { "number": 38}, url: "test.php", success: function(data) { $('#message').html(data); }, error: function(xhr, status, error) {




da708f7a06

K

Kunci Jawaban Akuntansi Biaya Mulyadi Edisi 5 Rapidshare

Plus d'actions