Side navigation
#1810 closed bug (worksforme)
Opened October 16, 2007 07:32PM UTC
Closed October 18, 2007 12:11AM UTC
input field .focus() behavior
Reported by: | dStrickland | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | 1.2.2 |
Component: | core | Version: | 1.2.1 |
Keywords: | selectors, events | Cc: | |
Blocked by: | Blocking: |
Description
using jQuery('input').focus(function(){alert('stuff');});
When selecting all the input elements on a page and giving them a focus event, giving focus (clicking or tabbing through) to said elements will make them change to type text (types image, checkbox, and submit confirmed).
the current fix for this is to change the selection to jQuery('input[type=text]') to avoid this issue.
Attachments (0)
Change History (1)
Changed October 18, 2007 12:11AM UTC by comment:1
resolution: | → worksforme |
---|---|
status: | new → closed |
I haven't been able to duplicate this, at all:
http://dev.jquery.com/~john/ticket/1810/