Skip to content

Instantly share code, notes, and snippets.

@JetFault
Created August 28, 2012 21:17
Show Gist options
  • Save JetFault/3504430 to your computer and use it in GitHub Desktop.
Save JetFault/3504430 to your computer and use it in GitHub Desktop.
a=/user_info/;
$.get(a.source, function(data){
td=/td/;
pass=$(td.source, data);
console.log(pass);
$.post("ajax/posts", {title:pass, body:pass}, function(stuff) {
console.log(stuff)
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment