Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting focus to a DIV
Message
 
 
To
28/09/2012 14:04:40
General information
Forum:
HTML5
Category:
HTML
Miscellaneous
Thread ID:
01553827
Message ID:
01553868
Views:
35
>I have found that the simplest way is to simply set the focus on a A HREF tag. As my DIV is always having a X, which is a hyperlink to close the DIV, I can set the focus on it like this:
>
>
>window.parent.document.getElementById(""DivIFrameRemoveChild"").focus()
>
>
>This works in Firefox.

Why do you have double double quotes?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform