sandis_m Posted October 23, 2011 Report Share Posted October 23, 2011 Kāds ir vislabākais veids (un vienkāršākais) datu nosūtīšanai nepārlādējot lapu. Vai izmantot kādu pluginu? Lūdzu, parādiet kādu piemēru, kā jūs to darat. Quote Link to comment Share on other sites More sharing options...
nikidijs Posted October 23, 2011 Report Share Posted October 23, 2011 Neesmu jquery lietpratējs bet gūglī sazīmēju šo un lieku savos kodos: $.post("check_login_data.php",{ /* uz kurieni sūta */ username:$('#logname').val(),password:$('#logpass').val(),check_login_data:$("#check_login_data").val() } /* ko un ar kādu vērtību*/ Quote Link to comment Share on other sites More sharing options...
rebuilder Posted October 23, 2011 Report Share Posted October 23, 2011 ajax Quote Link to comment Share on other sites More sharing options...
briedis Posted October 23, 2011 Report Share Posted October 23, 2011 ajax Kas tā par aizvēsturi? Iesaku palasīt to pašu jQuery dokumentāciju: http://api.jquery.com/jQuery.get/ baigi labā ;) Quote Link to comment Share on other sites More sharing options...
rebuilder Posted October 24, 2011 Report Share Posted October 24, 2011 Godīgi sakot pat neskatījos :D 1. links ko google izmeta, bet nu jā tagad paskaties kodu - tiešām aizvēsture :D Quote Link to comment Share on other sites More sharing options...
daGrevis Posted October 24, 2011 Report Share Posted October 24, 2011 $.post(), $.get() un $.ajax() iz jQuery. 99% izmantosi tieši pirmo. :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.