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!

Call a Function in another asp page

Status
Not open for further replies.

ozpeppers

Programmer
Jul 17, 2001
32
0
0
BN
Is it possible to call a function in another asp?

Mark
 
Hi ozpeppers,

create a separate file like include.asp that contains your function. Then include this in all asp pages where you want to use the function by writing
<!--#include file='include.asp'-->
at the top of the page.

Good luck :)
Kind regards,
Kridy
_____________
kridy@web.de
 
Cheers Kridy

Would work but I can't do this as I have a form in the original page and... I need to use another form!!

I was thinking about including an IFrame and accessing a function stored in the page sourcing the IFrame...

See what I'm getting at??

Cheers again Kridy

Mark
 
If you put JUST the part/function you need on both pages in a separate file like kridy wrote, you'll get exactly what you asked for.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top