How to dynamically add “#” for the div id in jquery

Sapphi

New Member
I want to add dynamic image tag to the dynamic div when we click on thumb images. Please find the code below and am not able to set the img tag to dynamic div using html(). Div is under the asp.net control \[code\]<script type="text/javascript"> function setImage(Divid) { $(Divid).html("<img style=\"height:150px;width:150px;\" src="http://stackoverflow.com/questions/14517396/+"" + names + "" + ">"); }</script>\[/code\]any help is appreciated
 
Back
Top