Bug Tracker

Opened 13 years ago

Closed 13 years ago

#1810 closed bug (worksforme)

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.

Change History (1)

comment:1 Changed 13 years ago by john

Resolution: worksforme
Status: newclosed

I haven't been able to duplicate this, at all: http://dev.jquery.com/~john/ticket/1810/

Note: See TracTickets for help on using tickets.