[thelist] The finer details of javascript

DESCHAMPS Stéphane DvSI/SICoR stephane.deschamps at francetelecom.com
Fri Nov 8 09:55:11 CST 2002


> -----Message d'origine-----
> De : thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]De la part de Rob Smith
> Hi list,
>
> Once again, I seek your expertise. Here's the story: I've got
> an .htm page
> that has an external .js file "included." In that .js file,
> I'm trying to
> include some .asp stuff. example:
<snip />
> Is this possible for one? If so, then what are the rules that
> I need to
> follow to make this work? If not, thanks anyhow.

Hi Rob,

Just call your JS like so:
<script src="myjs.asp">

Your JS must be renamed with an .asp extension and will then be parsed by the server before being served as plain'ol'JS.

HTH
stef




More information about the thelist mailing list