Side navigation
#2312 closed bug (invalid)
Opened February 09, 2008 09:48AM UTC
Closed May 06, 2008 03:40AM UTC
Last modified May 13, 2008 05:40PM UTC
.focus() bug in IE
Reported by: | goetsu | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.2.4 |
Component: | event | Version: | 1.2.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I have tried to do :
<a id='contentsection' onfocus='alert('toto');'></a>
and with jquery :
$("#contentsection").focus();
I don't show the alert box in IE (6and 7 at least). It work well with firefox. I don't know if it's a jquery bug or if it's because of the ie keyboard bug http://juicystudio.com/article/ie-keyboard-navigation.php
Attachments (0)
Change History (4)
Changed March 14, 2008 04:30PM UTC by comment:1
Changed May 06, 2008 03:40AM UTC by comment:2
resolution: | → invalid |
---|---|
status: | new → closed |
Changed May 06, 2008 03:46AM UTC by comment:3
onfocus='alert('toto');' is invalid Javascript/HTML.
Changed May 13, 2008 05:40PM UTC by comment:4
milestone: | 1.2.3 → 1.2.4 |
---|
Just a quick note, it might be safer to change your quotes up. For example:
"alert('toto')", or 'alert("toto")'.
If that fixes it, please close.