You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Kiet Nguyen <KN...@coolcast.com> on 2001/12/06 15:45:48 UTC

Browser cache

When the browser has cache on ("Never check for new version of the store
page"), the follow code does not submit the form.  I think it is because it
is a link. 

<html:link href="javascript:cancelOrSubmit('workOrderSubmitOrder.do','Your
order will be submitted for broadcast distribution.  Do you want to
continue?')" ><img src="images/submitorder.gif" width="113" height="24"
border="0" ></html:link>

When I change this to an image, I can't get the javascript to work under
netscape 4.7.   Is there a way to write the submit so that it has the pop-up
diaglog with image.  Please help!!!


<html:image src="images/submitorder.gif"
onClick="javascript:cancelOrSubmit('workOrderSubmitOrder.do','Your order
will be submitted for broadcast distribution.  Do you want to continue?')"
/>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>