Skip to content

Instantly share code, notes, and snippets.

@oshanz
Last active January 4, 2016 10:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oshanz/8612213 to your computer and use it in GitHub Desktop.
Save oshanz/8612213 to your computer and use it in GitHub Desktop.
ajax
$.ajax({
type: 'post',
url: URL + 'index/updateDetails',
data: $('#form_updateUserDetails').serialize(),
//data: {'page': page, 'from': $('#From').val(), 'to': $('#To').val()},
success: function(data) {
// console.log(data);
$('#user_up_error').html(data);
setErrorOff();
listup();
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment