16
rated 0 times
[
22]
[
6]
/ answers: 1 / hits: 27046
/ 13 Years ago, wed, july 20, 2011, 12:00:00
Is there a way in Javascript to forcibly disable text field autofocus on page load?
I know of the focus() method, but not how to disable it. My actual problem is that autofocusing in a modal window forces the window to appear with the scrollbar halfway down already and scrolled to the first input field, whereas I would like to disable this entirely.
Thanks!
More From » jquery