Re: Go Back Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2 Dec 2004 09:58:46 +0800, Cyrus <cyrus_chan@xxxxxxxxxxxxxxxx> wrote:

Dear All,

I have a problem of back to the previous page in php.....
I need to create a form let people to fill in .It can let user to preview the form, if information is not correct , user can back to previous page and correct it,
I have used the javascript : OnClick='history.go(-1)' and OnClick='history.back()' in php , but it can not works....pls help me.


Thanks and Regards,

Cyrus Chan

This is a browser issue. For some reason, most browsers interpet 'back' as 'reload the previous page' rather than 'go back to where the user was', which results in the information filled into forms being nuked.


One possible workaround for this is to skip the back stage, thereby removing the chance for the data to be lost. On the preview page, just include the form, so that they can just make the changes there.


-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

http://www.smempire.org

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux