[thelist] how to gen included client-side javascript from ASP?
Glenn Carr
glenn at glenncarr.com
Wed Jan 7 21:55:40 CST 2004
James Aylard wrote:
> This should work, and did in a simple test that I created.
> Technically,
> you should add Response.ContentType = "text/javascript" at the
> beginning of
> your asp file, although IE doesn't get tripped up by its absence. What
> browser are you using to test this? Also, I assume that your server is
> capable of parsing asp, correct?
I actually did set the ContentType as you said, but removed it just to
simplify the example.
I'm using IE 6 to test. Yes my server is parsing ASP. I can reference the
ASP directly, and it will display the javascript. Hmmm... I've got a
feeling I'm missing something very basic.
More information about the thelist
mailing list