how to pass parameters in an include file which is included in an asp page 
Author Message
 how to pass parameters in an include file which is included in an asp page

i have an include file that i have included in an asp file.now i want to
change some functionality of the include file by passing a parameter
thru javascript or anything else.
is there any syntax thru which i can pass the parameter

--
Posted via http://www.*-*-*.com/



Mon, 23 May 2005 15:10:46 GMT  
 how to pass parameters in an include file which is included in an asp page

Quote:

> i have an include file that i have included in an asp file.now i want
> to change some functionality of the include file by passing a
> parameter thru javascript or anything else.
> is there any syntax thru which i can pass the parameter

Included files (let's call them 'includees') are incorporated into the page
that includes them (lets call it the 'includer') before any of the combined
server side script code is executed.

So if you Dim and assign a value a variable in the server side script of the
'includer', then server side script in subsequent 'includees' will see that
variable's value.

--
Michael Harris
Microsoft.MVP.Scripting
Seattle WA US



Tue, 24 May 2005 08:42:04 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. passing parameter that includes blank space

2. Include JavaScript file in another include file

3. Include a remote file in ASP page ???

4. Include files in an Asp page Performance

5. include files and/or parameters betw vbs-files

6. Can you pass variables with an include file?

7. Passing parameters to a stored procedure from an asp page

8. include ASP file

9. scope of #include files in ASP?

10. how to open a file and manipulate it in asp but not with include

11. ASP 2 VBS, include file problme

12. include Excel file in ASP

 

 
Powered by phpBB® Forum Software