Double quotes in Internet Explorer 7

Double quotes in Internet Explorer 7

Hello there,

I am passing HTML values to a flash application using Jquery selectors.
It works fine on most browsers but not on Internet Explorer 7 and I'm wondering why.

After a bit of testing I found out that IE7 is not reading properly the double quotes inside HTML tags.

Here is my code:

<script type="text/javascript" language="javascript">
$(document).ready(function(){
      var textToPass = $("#content").html();
      alert(textToPass);
</script>



<div id="content">
    <h1>Heading 1</h1>
    <h2>Heading 2</h2>
    <h3>Heading 3</h3>
    <p>Text example</p>
    <p class="intro">Intro class</p>
</div>



All the browsers will display the above code in the alert window, IE7 instead will display the last paragraph tag without the double quotes for its class.


Any thoughts?

Thanks!