jquery appendTo() not working in IE 7,8
<p>I am using jquery to do paginations.
My code is wroking fine in FF but in IE it says the error on linee 255 in jquery.js</p>

<p>and its is on the append function</p>

<p>what should i do</p>

<pre><code>var $pager = $j('&lt;br&gt;&lt;span class="pager"&gt;&lt;/span&gt;');
$j('&lt;span class="page-number" &gt;' + (page + 1) + '&lt;/span&gt;')
.appendTo($pager).addClass('clickable').addClass('over');
</code></pre>

<p>This is not the full code but the error is due to appendTo line , if i remove that line then there is no error</p>
