Unexpected call to method or property access. in JQUERY
<p>My code which is giving error in IE8</p>

<pre><code>$(function(){
 $.ajax({url:"http://localhost/css/register.txt",  
         cache : false,
         success:function(ris){$("&lt;style&gt;&lt;/style&gt;").appendTo("head").html(ris);//culprit statement
          },
         error:function(){}
                                    });
});
</code></pre>
