Skip to content

Instantly share code, notes, and snippets.

@nnarhinen
Created November 30, 2010 07:56
Show Gist options
  • Save nnarhinen/721321 to your computer and use it in GitHub Desktop.
Save nnarhinen/721321 to your computer and use it in GitHub Desktop.
$(this).find('form').submit(function() {
$.post($(this).attr('action'), $(this).serialize(), $this._handleSearchResult, 'json')
return false;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment