Skip to content

Instantly share code, notes, and snippets.

@haric
Created June 8, 2012 16:30
Show Gist options
  • Select an option

  • Save haric/2896669 to your computer and use it in GitHub Desktop.

Select an option

Save haric/2896669 to your computer and use it in GitHub Desktop.
Scroll to error
setTimeout(function () {
if ($(".some-error") != null)
$.mobile.silentScroll($(".some-error").position().top);
}, 200);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment