Skip to content

Instantly share code, notes, and snippets.

@rsobers
Created November 11, 2015 18:30
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 rsobers/4f4ca28581e0e872ee96 to your computer and use it in GitHub Desktop.
Save rsobers/4f4ca28581e0e872ee96 to your computer and use it in GitHub Desktop.
$(document).ready(function checkFormHS() {
if( $('form').length > 0 ) {
// form is loaded, do your work
} else {
setTimeout(function() { checkFormHS(); }, 200 );
};
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment