File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes pressing a button so that it can go back and edit the fields Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "pressing a button so that it can go back and edit the fields" Watch "pressing a button so that it can go back and edit the fields" New topic
Author

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

nash avin
Ranch Hand

Joined: Nov 18, 2004
Posts: 45
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
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

Joined: Nov 18, 2004
Posts: 45
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
 
GeeCON Prague 2014
 
subject: pressing a button so that it can go back and edit the fields