Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

window.focus and window.blur don't work #34

Closed
zcbenz opened this issue Aug 28, 2012 · 1 comment
Closed

window.focus and window.blur don't work #34

zcbenz opened this issue Aug 28, 2012 · 1 comment
Labels

Comments

@zcbenz
Copy link
Contributor

zcbenz commented Aug 28, 2012

Chromium and WebKit seem to have restricted these two functions to prevent evil scripts.

@respectTheCode
Copy link

$("input.focus:first").focus(); works as expected for me.

Sorry just reread the issue and realized it is for the window not input elements.

zcbenz added a commit that referenced this issue Sep 21, 2012
zcbenz added a commit that referenced this issue Sep 21, 2012
zcbenz added a commit that referenced this issue Sep 21, 2012
@zcbenz zcbenz closed this as completed Sep 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants