Side navigation
#10998 closed bug (invalid)
Opened December 12, 2011 06:15AM UTC
Closed December 12, 2011 07:31AM UTC
Last modified December 12, 2011 08:18AM UTC
.focus() wont work in firefox
Reported by: | isaqzarekari_1786@yahoo.co.in | 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.
Attachments (0)
Change History (3)
Changed December 12, 2011 06:30AM UTC by comment:1
Changed December 12, 2011 07:31AM UTC by comment:2
component: | unfiled → event |
---|---|
priority: | undecided → low |
resolution: | → invalid |
status: | new → closed |
Changed December 12, 2011 08:18AM UTC by comment:3
Replying to [comment:1 anonymous]:
Replying to [ticket:10998 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; }
Replying to [ticket:10998 isaqzarekari_1786@…]:
Hey I got the solution
function sampledFunction()
{
window.setTimeout(function ()
{
$('#mobileno').focus();
}, 0);
return false;
}