Something wrong with this line of code:
changeimage('image1', 'Photos/Customers/Test1/Dock.jpg')
What is wrong?
Edit: Javascript:
function changeImage(image_name, image_src) {
document[image_name].src = image_src;
}
Debug
<img id="ctl00_Main_gridThumbnails_ctl06_tb1" src="Photos/Customers/Test1/Forest-tn.jpg" style="border-width:0px;" />
<input type="hidden" name="ctl00$Main$gridThumbnails$ctl06$photolink" id="ctl00_Main_gridThumbnails_ctl06_photolink" value="~/Photos/Customers/Test1/Forest.jpg" />