Skip to content

Instantly share code, notes, and snippets.

@jpoehls
Created May 30, 2012 00:05
Show Gist options
  • Save jpoehls/2831568 to your computer and use it in GitHub Desktop.
Save jpoehls/2831568 to your computer and use it in GitHub Desktop.
Find the <form/> that contains jQuery element
var $form = $('.item').closest('form');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment