#8944 closed bug (worksforme)
jQuery("#A").html(htmlStr) doen´t work in IE
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | manipulation | Version: | 1.4.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description (last modified by )
Hello,
The function jQuery("#results").html(htmlStr) doesn´t work in any version of Internet Explorer. I have to change for document.getElementById('results').innerHTML = htmlStr;, this work in all navegators.
Bye,
Change History (2)
comment:1 Changed 12 years ago by
Description: | modified (diff) |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
comment:2 Changed 12 years ago by
Component: | unfiled → manipulation |
---|---|
Priority: | undecided → low |
Note: See
TracTickets for help on using
tickets.
Thanks for submitting a ticket to the jQuery Project! I've created a test case here and verified that this is working absolutely fine in IE6, 7 and 8 (haven't tested 9 but I'm quite sure it works there too). http://jsfiddle.net/addyosmani/zds3H/ Just for the sake of thoroughness (they're effectively the same) here's a test case using 'jQuery(selector)' rather than '$(selector)' as well http://jsfiddle.net/addyosmani/xrqJV/. This too is working fine across all versions. Please re-check your code.