Skip to content

Instantly share code, notes, and snippets.

@meltingice
Created March 4, 2010 22:35
Show Gist options
  • Save meltingice/322202 to your computer and use it in GitHub Desktop.
Save meltingice/322202 to your computer and use it in GitHub Desktop.
var yourVar;
$.ajax({
type:'POST',
url:'someurl',
data:someData,
success: function(data){
yourVar = data;
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment