Oca 14 2012
Jquery post kullanımı. How to use jquery post method
Aşağıdaki fonkisyonu kullanabilirisniz. <script> $(document).ready(function(){ $(“#signin”).submit(function(event) { event.preventDefault(); var $form = $( this ), kullaniciadi = $form.find( ‘input[name=”kullaniciadi”]’ ).val(), sifre = $form.find( ‘input[name=”sifre”]’ ).val(), url = $form.attr( ‘action’ ); alert(did); alert(dil); $.post(url, { kullaniciadi: kullaniciadi, sifre: sifre, did: did, dil: dil }); // login oluyoz // window.location.replace(url); // sisteme giriyoz }); }); </script> […]
Oca 1 2016
Jquery ajax post function
Jquery ajax post function
Devamı
By Burhan KARADERE • 2015 - 2016 • 0 • Tags: ajax, jquery, post