Re: How to embed tiff image in JSP page by passing Image location through javascript ?
Posted By:
Robert_Lybarger
Posted On:
Thursday, May 18, 2006 07:36 AM
So you set the value of the embed src attribute. Great. How's the browser supposed to know to go get it and insert it into the page? You either need a page reload (that won't work here) or you need, instead, to modify the DOM of the page to explicitly download the image and insert it into the page. (See "AJAX"). Otherwise, since the page has already loaded by the time you can monkey with the form input, no further action will take place w/o the developer writing additional code to make that happen.