Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Javascript calculations lost on back button

Status
Not open for further replies.

rpeters74

Programmer
May 24, 2002
46
US
I have some javascripts that total up values contained in a number of textboxes. Users can enter in new values and total values are calculated with javascript functions and displayed on the page.

I have a Onload event in the html body that calls these javasctips.

When user clicks out of the page then comes back to it via the back button, the new values the users entered into the textboxes are retained but the total values do not represent the updated calculations.

any suggestions?

--
rp
 
Incorporate the total calculations into the onload JS as well.

Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top