Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pressing a button so that it can go back and edit the fields

 
nash avin
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Thanks every one for helping me with trivial questions out here.I have one more here.

I would like to have a button "edit" that has the functionality on being pressed would be able to direct to a page with the filled values , so that the user can edit the form and resubmit it.

I have tried the following code , but it doesnt seem to have that effect.Kindly help me out with regrds to this.



Many thanks
AS
[ February 15, 2005: Message edited by: Bear Bibeault ]
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have an issue with your JavaScript.

It should read:
oclick="javascript:history.back(1);return flase;">

I really am not sure why you are using a submit button. Shouldn't it be a normal button?

Eric
 
nash avin
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Eric,

Thanks for your answer.It is true that it should not be a submit button, it just should be a button.

The solution did work here.

Many Thanks
AS
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic