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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I Preserve textbox values after Refreshing?

Status
Not open for further replies.

KevinCO

Programmer
Oct 2, 2001
45
US
This is actually on an ASP, but I thought it was more an html/javascript thing. I'm making a web site where a customer can create an account, after the customer sets up an account they can add products to their own list that will always be there when they log on, with description, price and a text box to enter how many to order(no problems here), but I want to have a cost savers option for each product that opens in another pop up window(again, no problems here, a hyperlink with a simple javascript), but I want the customer to be able to add the product to there list(through ASP code), but if they have all ready filled out some of the text boxes, i don't want them to have to fill them out again if they decide to add a cost saver to their list, which will refresh the page and add the new item to the list, but will set all the textboxes to zero. Does anyone know how to get around this? Much appreciation for reading and helping....Kevin
 
Hi

I take it that you are submitting the page to add the costsaver and that is causing the order page to refresh the order page, right? What about submitting all the items on the order page with the addition of the cost saver, then just write the data back to the page.

hth
Bastien

There are many ways to skin this cat,
but it still tastes like chicken
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top