#12859 closed bug (worksforme)
FocusIn event not working for input type checkbox in chrome browser
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | event | Version: | 1.8.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Focusin working fine for all input elements in form except input type checkbox in chrome its working successfully in firefox but not in chrome
Change History (5)
comment:1 Changed 10 years ago by
comment:3 follow-up: 4 Changed 10 years ago by
Component: | unfiled → event |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Keep in mind clicking a checkbox does not necessarily focus it.
comment:4 Changed 10 years ago by
Replying to timmywil:
Keep in mind clicking a checkbox does not necessarily focus it.
So how to trigger focusin event on clicking a checkbox .......the example provided i think i could not relate to my scenario in the example i provided, when a checkbox is clicked its triggering focusin event perfectly in firefox but not in chrome............
comment:5 Changed 10 years ago by
@rajendrav5: Native focus can be programmatically triggered with .focus()
, but without knowing your use case, it's hard to know what behavior you're trying to accomplish. I suggest asking for help on the forums or in the #jquery irc channel. We cannot cover up this kind of browser inconsistency (although truth be told, I don't see the focusin event happening on click in Firefox either).
Event change works fine for input type checkbox , but in our case its not a solution focusin doesnt seems to work in chrome......