Welcome visitor
* Login
* Register
It is currently January 21st, 2019, 11:30 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 3 posts ] 
Author Message
  cancel button
PostPosted: April 10th, 2009, 5:18 pm 
User avatar

Posts: 42
Hi, im building a form and i already have the submit button on it and i would like to add a cancel button that gets you back to the previous page.

Is not the reset that i want, but a different kind. Also is not a link to a previous page but a button to match the submit one.

Thank you!


Top
 Profile  
 
  Re: cancel button
PostPosted: April 10th, 2009, 5:19 pm 
User avatar

Posts: 136
<input type="button" value="cancel" 
onClick="window.open('address of the previos page','_self')">


Top
 Profile  
 
  Re: cancel button
PostPosted: April 10th, 2009, 5:30 pm 

Posts: 22
<input type="button" value="Go Back" onClick="history.go(-1)">


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron