load background image from other page with jquery?
<p>I want to load a background image from another ajax page and Im not really sure whats the best way?</p>

<p>In my index.html page I have the css background code and I want to load an image from another asp page.</p>

<p>My index.html file as it looks now:</p>

<pre><code>&lt;div id="bgimage" style="background-image: url(../images/theimage.jpg); background-repeat: no-repeat; background-position: center center; background-attachment:fixed;"&gt;
</code></pre>

<p>and the imagepage.asp page that gets the right image from the db.</p>

<pre><code>&lt;div id="menuimage"&gt;
&lt;img src="..user_images/&lt;%=folderName%&gt;/menuimage/&lt;%=rs("big_image")%&gt;" id="themenyimage"/&gt;
&lt;/div&gt;
</code></pre>

<p>Any suggestions appriciated, thanks.</p>
