Skip to content

Instantly share code, notes, and snippets.

@alejandrolechuga
Created April 10, 2012 16:42
Show Gist options
  • Save alejandrolechuga/2352736 to your computer and use it in GitHub Desktop.
Save alejandrolechuga/2352736 to your computer and use it in GitHub Desktop.
$(document).ready(function(){
$("somebutton").click(function(){
var one=$("someinput").val();
var two=$("someinput").val();
var three=$("someinput").val();
$.ajax({
url:'process.php',
type:'POST',
data:{blah1:one,blah2:two,blah3:three},
success:function(result){
$("div#result").html(result);
}});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment