PDA

View Full Version : Rich Text Editor script - how to show contents on "back"



skink
01-18-2006, 09:14 PM
Dear Dynamic Drive,

I am using the Rich Text Editor javascript, and it is working well. But here is one scenario I have not been able to solve: the user submits the form containing the rich text field, sees my confirmation page, then hits the browser "back" button or my cancel button, which calls the javascript history.go(-1) method.

In these cases, the user sees the "old" value of the field, unless they refresh the browser -- in which case, they see their input -- opposite of expected behavior.

Is there a simple way to make the browser display the last-entered value as soon as the page is displayed again? Thanks in advance!