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!

when is an include fired and when is onClick fired

Status
Not open for further replies.

frogggg

Programmer
Jan 17, 2002
182
US
I think I finally got to the root of this onClick problem. Now I just need help getting around it.

I have an include file with a .asp extension on a page that also requires onClick processing. In the onClick I need to reference recordsets and forms from the rest of the page. The problem is that the after clicking, the include file runs again (I think) and dumps the form and the recordsets so the onClick subs are worthless and do absolutely nothing.
When I change the include to .htm everythink works just fine.

Is there a way to decide when the include should fire or any other way to get around this problem?

Thanks in advance for any sage advice!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top