I need to put a javascript variable as image source. That is my image tag should be in this format here i am adding my script
document.getElementById("pricefilter").innerHTML ='<img src="variablename/spinner.gif" title="Loading..." alt="Loading...">';
The variablename carries my image path. How can I put this in double quates.
Please help to solve this