I have a form where the user specifies a bg image url, and I want it to be set as the background image for a div.
The code for the div is as below:
<div class="dc m1_t" > <div class="dt m1_b" > <div class="dr"> <div class="dc m1_pad" > <span class="m1_h_text">Manufacturers:</span><br> <img alt="" src="images/spacer.gif" width="1" height="12"><br> <select class="sel1"><option> Sony</option></select> </div> </div> </div> </div>
I want that the bg image for the div with class value "dc m1_t" should be set to the value supplied in text box "s_bkbgiu". Is a div ID needed for this to be accomplished. How will this be coded