CodeIgniter Forums

Full Version: JQuery AJAX: A good example from scratch
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

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

El Forum

[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.

El Forum

[eluser]Zaheer Awan[/eluser]
thnxxx