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

Page Reloads when an OnChange event is added

Status
Not open for further replies.

doramsey

Programmer
Sep 13, 2001
12
US
I've created an ASP page with several DTC Listboxes and I populate them all from recordsets when the page loads. I add an OnChange event (with no code in the sub), save it and view in browser. When I change the selected value in the listbox with the blank OhChange event, all the listboxes are populated again...ie, entries are duplicated.
Thanks for any help.
 
When dealing with listboxes, the onchange() event causes the page to resubmit itself, even if there is no code present in the sub.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top