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

Page refresh onchange submit

Status
Not open for further replies.

markdt

Technical User
Feb 15, 2006
63
GB
Hi all,

I have a number of linked select boxes which when selected performs an onchange command and enters values in the corresponding fields.

On this page i also have normal select boxes, the problem occurs when i select a linked select box the page refreshes and the value in the normal select box goes back to default.

I hope this makes sense.

Is there anyway of retaining the data in the normal boxes.

Any ideas would be appreciated

Thanks

Mark
 
You'd probably have to change the page refresh action to a form submit action. The page would submit to itself and then the values from the checkboxes and other fiels would be available when the page is reloaded via Request.Form("fieldname")
 
I would try asking the same question in the JavaScript forum: forum216 because this sounds like more of a "browser-side" scripting question than an issue with server-side logic.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top