I have a web form that uses jQuery to submit a search. The form itself doesn't fire the submit event because I catch that and drop it (this is all part of a much larger and more complex form and I'm using progressive enhancement to add this functionality).
On the iPhone, the browser automatically zooms in to my search input as soon as it is focused. On an "enter" keyup event, the search is executed via javascript, and I blur the input which dismisses the on screen iPhone keyboard, but the browser stays zoomed in to the input area.
Is there a way to programatically trigger zooming out again back to the initial viewport area via javascript?
EDIT: there's no redirect on search execution which would normally reset the viewport when the new page loads - everything happens on one page here.