I've got a page that has an iframe and web page in the iframe runs a focus() on one an input box in the iframe... how can I prevent that focus() from running?
A:
I don't think you are allowed to access input boxes in an iframe if the page is from a remote source due to cross-domain security limitations.
Knix
2009-07-28 08:03:15
+1
A:
I doubt you're able to do this, unless there's some sort of weird browser quirk in that if you set focus on your outer page it gains priority over the iframe.
meder
2009-07-28 08:04:59
+1: I would try to set focus on the parent page and see if that overrides the focus from the iframe
Josh
2009-07-31 01:59:17