B
Brian Piotrowski
Hi All,
After many years of ASP 3.0, I am finally taking the plunge and moving to
ASP.NET. I'm going through a few tutorials, and I'm wondering if someone
can answer me a question on adding a simple Javascipt to an ASP.NET page.
In my old ASP code, I used an #include function to add a javascript to my
webpage. I've been reading that it is not recommended to use this technique
in ASP.NET. The javascript I would like to add is pretty basic - it's just
a script to fade between images in the header.
Can someone tell me what I could do as an alternate to the #include function
under ASP.NET? I'd really hate to have to post the javascipt in my master
file if I can avoid it.
So before, I had this:
<head>
<!--#include file ="stylesheet.css"-->
<!--#include file ="fadescript.js"-->
</head>
I figured out how to show the stylesheet in the page. My question is how do
I get the fadescript.js into my ASP.NET pages?
Thanks!
Brian.
After many years of ASP 3.0, I am finally taking the plunge and moving to
ASP.NET. I'm going through a few tutorials, and I'm wondering if someone
can answer me a question on adding a simple Javascipt to an ASP.NET page.
In my old ASP code, I used an #include function to add a javascript to my
webpage. I've been reading that it is not recommended to use this technique
in ASP.NET. The javascript I would like to add is pretty basic - it's just
a script to fade between images in the header.
Can someone tell me what I could do as an alternate to the #include function
under ASP.NET? I'd really hate to have to post the javascipt in my master
file if I can avoid it.
So before, I had this:
<head>
<!--#include file ="stylesheet.css"-->
<!--#include file ="fadescript.js"-->
</head>
I figured out how to show the stylesheet in the page. My question is how do
I get the fadescript.js into my ASP.NET pages?
Thanks!
Brian.