Hi !
I have to submit a form by clicking on an image. For some obscure reason, I can’t use an image with an onClick that submits the form. So I used a button with a CSS background-image :
<input type=”submit” name=”manageImagePhoto” value=””
style=”background: url(/siip/address/displayAddressImage.do?thumbnail=true&addressid=2159&imagetypeid=2) no-repeat center center;
width : 100px;
height: 125px;
width: 125px;
border: 0px;
font-weight : lighter;
font-size : 11px;
font-family: arial;
azimuth: center;
word-spacing: 1px;
cursor: pointer”
/>
It works fine but one thing : as you can tell from the url, the image is generated server-side (read from a database). It is actually a thumbnail of a bigger image. To click on the thumbnail calls a form where you can change the image. But if I change the image and go back to the main page where the thumbnail is displayed, the thumbnailed is not refreshed. It is refreshed only after I reload the page 2 times more… I’m prety sure the server side (it’s J2EE) works fine and refreshes instantly – no cache.
I’m using Firefox.
Any idea how I could force the refresh ?
Any suggestion welcome !