'Object doesn't support this property or method' IE8 throwing jquery error
<p>I get this error on the page when I load my website on IE8,</p>

<p>Message: Object doesn't support this property or method
Line: 1025
Char: 5
Code: 0
URI: <a href="http://www.domain-name.com/../default/js/jquery.wt-rotator.js" rel="nofollow">http://www.domain-name.com/../default/js/jquery.wt-rotator.js</a></p>

<p>i.e this particular line of code</p>

<pre><code> $innerText.width(textWidth).html($p.html());
</code></pre>

<p>this is the complete block of code </p>

<pre><code>var initTextData = function($item, padding)
 { 
 var $p = $item.find("&gt;div:hidden"); var textWidth = getPosNumber(parseInt($p.css("width")) - padding, 300);
var textHeight = getPosNumber(parseInt($p.css("height")) - padding, 0); $innerText.width(textWidth).html($p.html());
if (textHeight &lt; $innerText.height()) 
{ textHeight = $innerText.height(); 
}
 $item.data("textbox", {x:$p.css("left"), y:$p.css("top"), w:textWidth + padding, h:textHeight + padding, color:$p.css("color"), bgcolor:$p.css("background-color")}); 
}
</code></pre>

<p>Jquery image rotator is not displayed or loaded in IE8, opera whereas in firefox it loads and works perfect.</p>
