Side navigation
#12859 closed bug (worksforme)
Opened November 07, 2012 09:04AM UTC
Closed November 07, 2012 03:39PM UTC
Last modified November 08, 2012 03:11PM UTC
FocusIn event not working for input type checkbox in chrome browser
Reported by: | rajendrav5 <rajendrakumar556@yahoo.com> | 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
Attachments (0)
Change History (5)
Changed November 07, 2012 09:05AM UTC by comment:1
Changed November 07, 2012 01:43PM UTC by comment:2
http://jsfiddle.net/sGCxa/ Example
Changed November 07, 2012 03:39PM UTC by comment:3
component: | unfiled → event |
---|---|
resolution: | → worksforme |
status: | new → closed |
Keep in mind clicking a checkbox does not necessarily focus it.
Changed November 08, 2012 05:48AM UTC by comment:4
Replying to [comment:3 timmywil]:
Keep in mind clicking a checkbox does not necessarily focus it. http://jsfiddle.net/timmywil/sGCxa/4/
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............
Changed November 08, 2012 03:11PM UTC by comment:5
@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......