i'm using a 3rd party template with jQuery for one of my domains.
i'd like to call focus
on the text input at dom ready, so I've tried this:
$('input[type="text"]').focus()
for whatever reason the text field will not focus, i've only tried with chrome.
- open console and type
$('input[type="text"]').focus()
- expected behavior is that the users cursor is placed in the text box
its fully possible that one of the templates libraries, css or js is preventing the focus, but its all minified and compressed so I'm a little unclear as to where i can look.