title: ajax script for change background not working in IE
body: <p>I am facing a problem with ajax script. I am using the code:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
      $(document).ready(function() {
          $('#savecolor').click(function(){     
            var myVar = 'data='+$('#color').val();
            $.ajax({
              type: "POST",
              url: "addcolor.php",
              data: myVar,
              success: function(msg){
              //alert(myVar);
              $('#message').html('Background color has been changed successfully.');
              $(window.parent.document).find('#set').css('background', msg);
               //$('#set').css('background', msg);
                // window.parent.location.reload(); 
  
                 }
                });
               });
  &lt;/script&gt;
  </code></pre>
  
  <p>This code is working fine but in IE this is not working, i am using jquery-1.7</p>
  
  <p>any one help me. </p>