Bug Tracker

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#8944 closed bug (worksforme)

jQuery("#A").html(htmlStr) doen´t work in IE

Reported by: wanapito@… Owned by:
Priority: low Milestone: 1.next
Component: manipulation Version: 1.4.3
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by addyosmani)

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 9 years ago by addyosmani

Description: modified (diff)
Resolution: worksforme
Status: newclosed

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.

comment:2 Changed 9 years ago by Rick Waldron

Component: unfiledmanipulation
Priority: undecidedlow
Note: See TracTickets for help on using tickets.