Is jQuery runs only client side controll and gives error when we add runat=server
<p>I am working on a Portfolio project in which I am displaying Images in a Div "Book" . For giveng it an effect am using a jQuery that set the Div's size to a fixed size(500*700). Everything was going fine.</p>

<p>Now I need to controll the size of the division at runtime(new requirement). as soon as i add runat="server" to div jQuery starts to raise an error "Book is null or not an object" at bold position.</p>

<pre><code>Book.appendChild(B_LI);
B_RI = document.createElement("img"); **Book.appendChild(B_RI);**
B_MI = document.createElement("img"); Book.appendChild(B_MI);
</code></pre>

<p>I am not much familier with jQuery. Is jQuery runs only client side controll and gives error when we add runat=server.</p>

<p>Thanks</p>

<p>Suren</p>
