[thelist] The finer details of javascript

Nik Schramm n at industriality.com
Fri Nov 8 10:14:01 CST 2002


On 08.Nov.02 16:53 DESCHAMPS Stéphane DvSI/SICoR wrote


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

I would also set the ContentType of this js.asp page to
"text/javascript", just to be on the safe side. I forget how it's done
in plain asp, but in asp.net you'd simply include

ContentType="text/javascript"

within your @Page directive.

--
/nik




More information about the thelist mailing list