X
Tap here to go to the mobile version of the site.

Support Forum

jquery .focus() doesn't work correctly in FF18 for Android

Posted
<html>
<head>
  <title>testing</title>
   <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script type="text/javascript">
	 $(window).bind("focus", function(event)
    {
		$("#focus1").append("focus");
		
    }); 
	 $(window).bind("blur", function(event)
    {
		$("#focus1").append("blur");
    }); 
</script>

</head>
<body>
<p id="focus1"></p>
</body>
</html>

I've test with this code. In FF18 for Android, I get only the status focus when I OPEN the test site.

When I change the tab nothing happens with the status. I won't change to blur too.

I tried on PC and it works correctly with Firefox and Internet Explorer.

On Android I tried Chrome and FF18. It works good in Chrome.

So maybe this an bug.

Thanks.

Modified by cor-el

Post a Reply

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0

More Information

Posted

Question owner

Here is a link

http://jsfiddle.net/Vqded/

Was this helpful to you?
Reply
cor-el
  • Top 10 Contributor
  • Moderator
8278 solutions 78333 answers
Posted

A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.

The helpers at that forum are more knowledgeable about web development issues.
You need to register at the MozillaZine forum site in order to post at that forum.

Was this helpful to you?
Reply

Post a Reply

You must log in to your account to reply to posts.

Don't have an account? You can create a free account now.