Using Javascript history.go(-1) Question

I have an agent designed to display a form via the web, which contains a number of option buttons, and text area fields. The information is being saved automatically every 3 minutes using the following:

Print ||

When the data is saved, I want to return the user back to where they were. If the user is editing a text area field, then I want them to go back to exactly where they left off.

If I use history.go(-1), the user returns to the agent, and the text area that they were editing, but the returned to the top of the text area. Is there a way to go back to the same position in the field?

Any ideas or suggestions would be greatly appreciated - thanks in advance.

Subject: Using Javascript history.go(-1) Question

There’s really not a lot you can do, Lisa, short of redesigning the application to do a back-end submission for the autosave so the user is never interrupted. That would probably mean using what they like to call “Ajax” these days (asynchronous XMLHttpRequests + JavaScript) and combining the actions of at least two agents. This is not entry-level stuff by any means – figure on a couple of hundred hours of development and testing to get it running seamlessly. If there’s a business case for the effort, then start over at Codestore.net and look at Jake’s recent Ajax articles and the web lins he’s provided. Jack Ratcliff’s work over at OpenNTF.org might come in handy too.

Subject: RE: Using Javascript history.go(-1) Question

Thanks for the info Stan!