CodeIgniter Forums
JQuery AJAX: A good example from scratch - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: JQuery AJAX: A good example from scratch (/thread-52994.html)



JQuery AJAX: A good example from scratch - El Forum - 07-05-2012

[eluser]Zaheer Awan[/eluser]
Hi,
Can somebody post a good example for JQuery and AJAX use from the scratch? Thanks


JQuery AJAX: A good example from scratch - El Forum - 07-05-2012

[eluser]nagata[/eluser]
Code:
[removed]
function ApplySign(){
  var Blurb = jQuery('#blurb').val();
  var Signature = jQuery('#signature').val();
  jQuery.get('/index.php/member/change/sign',{sign:Signature},function(result){
    if (result=="1"){
     location.reload();
    }else{
     alert(result);
    }
   }
  );
}
[removed]
Enjoy.


JQuery AJAX: A good example from scratch - El Forum - 07-05-2012

[eluser]Zaheer Awan[/eluser]
thnxxx