Originally posted by Ulf Dittmer: I think I'm missing something. If this is a JSP page, then it should be easy to change it so that the src attribute contains whatever you want it to contain.
Or are you saying that the current value of the attribute causes problems, and you don't know what to put there? Then you should TellTheDetails of what exactly is happening.
actually here i have two drop downs. one is populated using bean and the 2nd is populated as per the first. in first drop down i hv folder name and in 2nd i hv file name, i achived this using AJAX i got the file name in 2nd drop down now i m trying to change the image as per selection of drop downs for this also i used AJAX i passed foldername and file name to the another jsp page where i select the path of file and append folder name and file name after that i use document.getElementById('tifimage').innerHTML = results_image; here tifimage is id of table td please help me..........