Right-click on the page generated by ASP and "view source".
Make sure that the HTML being generated is as expected.
--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Web Spinner" <webspinner@inbox.lv> wrote in message
news:b7c93f8d.0403282035.50a772b@posting.google.co m...[color=blue][color=green]
> > What does "doesn't work" mean? We're not looking over your shoulder. Do[/color][/color]
you[color=blue][color=green]
> > get error messages? Incorrect results?[/color]
>
> The javascript code was supposed to display text indicating the date
> of last modification of the x.asp document. It's not doing that. I
> tried a simple statement like document.write("message") in the javascript
> file and it would not even display that.
>
> It seems to me like ASP could not locate that the JavaScript files are
> under the "scripts" directory. I am just wondering if I had to
> configure anything in IIS to let ASP know that it can find these files
> under the "scripts" directory? Forgive my ignorance, but I am a bit new
> to ASP.
>[color=green]
> >[color=darkred]
> > >
> > > I know the example doesn't actually have any asp code in it,[/color]
> >
> > ... making this question off-topic for this newsgroup. :-)[/color]
>
> Well it's supposed to work alongside ASP code, I only gave a simplified
> example to help illustrate my problem. :-)
>[color=green]
> >
> > However, I tried your code and cannot reproduce your problem. The page[/color][/color]
seems[color=blue][color=green]
> > to "work" fine on my server no matter which extension I use.
> >
> > Create a page with only real asp code in it:
> >
> > <%response.write "hello world"%>
> >
> > When you run that in the browser, do you get a page with the words[/color][/color]
"hello[color=blue][color=green]
> > world"? If not, you may need to go into your IIS settings and turn asp[/color][/color]
on. I[color=blue][color=green]
> > seem to recall that asp is not on by default in IIS6.[/color]
>
> Yes that works. All the ASP codes work. It's the JavaScript part
> that doesn't work when it's ran as an ASP document.
>
> Your help is very appreciated.[/color]