#831 closed bug (worksforme)
In IE (6 & 7) attr("href", "bla") on an anchor element results in adjustment of the anchor's HTML body as well
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | major | Milestone: | 1.1 |
Component: | core | Version: | 1.1 |
Keywords: | attr anchor href html explorer | Cc: | |
Blocked by: | Blocking: |
Description
The following code
$("a").attr("href", "bla");
adjust the href attribute of all anchors to "bla". In IE (6 & 7) not only the href attribute is affected though, but also the anchor's HTML body. In Firefox and Opera this problem does not occur.
Thus,
<a href="yadda">click here</a>
will be adjusted to
<a href="bla">bla</a>
I haven't tested whether the problem occurs in other circumstances as well.
Change History (2)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
I can't duplicate this either.
Note: See
TracTickets for help on using
tickets.
I could not duplicate this in IE 6 or 7. Perhaps it's already been fixed.