Side navigation
#7491 closed bug (invalid)
Opened November 12, 2010 03:48PM UTC
Closed November 12, 2010 04:34PM UTC
add click function error in IE8
Reported by: | wangxing.pku@gmail.com | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.5 |
Component: | unfiled | Version: | 1.4.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The original html source is:
<img id="nextmusic" src="/static/pic/next.gif"/>
I use jquery to add function.
$("#nextmusic").click(nextmusic);
I get the processed html by using the debug tool provide by MS and get:
<img id="nextmusic" src="/static/pic/next.gif" complete="complete" jQuery1289576534211="2"/>
It works well on chrome.
Attachments (0)
Change History (1)
Changed November 12, 2010 04:34PM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
jQuery currently does add that crazy attribute to elements in IE to which it has bound events. It is an unfortunate side effect that we hope to eventually get rid of, but it is not a bug with .click().