Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save BrianTheCoder/3021 to your computer and use it in GitHub Desktop.
Save BrianTheCoder/3021 to your computer and use it in GitHub Desktop.
// This version works
$('#account_info_form').submit(function() {
$.facebox(function() {
$("#account_info_form").ajaxSubmit(function(respText, statusText) {
$.facebox((statusText == "success")?"Account Information successfully update":
"Failed to update Account Information.");
})
});
return false;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment