Bug Tracker

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#10998 closed bug (invalid)

.focus() wont work in firefox

Reported by: [email protected] Owned by:
Priority: low Milestone: None
Component: event Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:

Description

As I am using Jquery in my application. And using .focus() to handle the application through key board. It works fine in IE but not in firefox. Let me know the solution please.

Change History (3)

comment:1 in reply to:  description ; Changed 11 years ago by anonymous

Replying to [email protected]:

As I am using Jquery in my application. And using .focus() to handle the application through key board. It works fine in IE but not in firefox. Let me know the solution please.

Hey I got the solution

function sampledFunction() { window.setTimeout(function () { $('#mobileno').focus(); }, 0); return false; }

comment:2 Changed 11 years ago by sindresorhus

Component: unfiledevent
Priority: undecidedlow
Resolution: invalid
Status: newclosed

comment:3 in reply to:  1 Changed 11 years ago by anonymous

Replying to anonymous:

Replying to [email protected]:

As I am using Jquery in my application. And using .focus() to handle the application through key board. It works fine in IE but not in firefox. Let me know the solution please.

Hey I got the solution

function sampledFunction() { window.setTimeout(function () { $('#mobileno').focus(); }, 0); return false; }

Note: See TracTickets for help on using tickets.