Changes between Initial Version and Version 1 of Ticket #8805, comment 6
- Timestamp:
- May 26, 2011, 4:36:11 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #8805, comment 6
initial v1 1 Hmmm, IE<9 only seems to misbehave if the '''attribute''' is set, and not the '''property'''. So one workaround is to use: 2 {{{ 3 $("#whatever").prop("href", "http://example.com/"); 4 }}} 5 As long as you don't plan to serialize the HTML of the link (via `.innerHTML` or `.clone()`) there shouldn't be any negative impacts. 1 Disregard ... 2 3 Here is a fiddle showing the problem in pure DOM in IE: 4 5 http://jsfiddle.net/dmethvin/Rsv5J/