[thelist] Another submit button for cancel

Sarah Sweeney mr.sanders at designshift.com
Wed Dec 15 10:59:49 CST 2004


>>Alternatively, you could simply add a button with some Javascript to
>>send the user to the previous page (if the cancel button only needs to
>>go back without talking to the server):
> 
> Maybe this alternative isn't good as server side handling if the user
> isn't able to handle javascript?

Another alternative is to have the Cancel button be the lone element in 
a separate form (which you would then style with CSS-P to get the Cancel 
button to appear on the same line as the Submit button). The other form 
could simply have the page you want to return the user to as it's action 
attribute.

HTH

-- 
Sarah Sweeney  ::  Web Developer & Programmer
Portfolio  ::  http://sarah.designshift.com
Blog  ::  http://hardedge.ca


More information about the thelist mailing list