Bug Tracker

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#10998 closed bug (invalid)

.focus() wont work in firefox

Reported by: isaqzarekari_1786@… 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 10 years ago by anonymous

Replying to isaqzarekari_1786@…:

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 10 years ago by sindresorhus

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

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

Replying to anonymous:

Replying to isaqzarekari_1786@…:

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.