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

jQuery .focus() is deprecated #1153

Open
mar10 opened this issue May 21, 2024 Discussed in #1152 · 0 comments
Open

jQuery .focus() is deprecated #1153

mar10 opened this issue May 21, 2024 Discussed in #1152 · 0 comments

Comments

@mar10
Copy link
Owner

mar10 commented May 21, 2024

Discussed in #1152

See also https://api.jquery.com/focus-shorthand/

This API is deprecated.
Instead of .focus( handler ) or .focus( eventData, handler ), use .on( "focus", handler ) or .on( "focus", eventData, handler ), respectively.

Instead of .focus(), use .trigger( "focus" ).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant