Re: JavaScript not working with ASP
From: Mark Schupp (mschupp_at_ielearning.com)
Date: 03/29/04
- Next message: Web Spinner: "Re: JavaScript not working with ASP"
- Previous message: Amol: "OCXQMAIL is Not sending proper e-mails in different languages"
- In reply to: Web Spinner: "Re: JavaScript not working with ASP"
- Next in thread: Web Spinner: "Re: JavaScript not working with ASP"
- Reply: Web Spinner: "Re: JavaScript not working with ASP"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 29 Mar 2004 08:22:19 -0800
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.com...
> > What does "doesn't work" mean? We're not looking over your shoulder. Do
you
> > get error messages? Incorrect results?
>
> 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.
>
> >
> > >
> > > I know the example doesn't actually have any asp code in it,
> >
> > ... making this question off-topic for this newsgroup. :-)
>
> Well it's supposed to work alongside ASP code, I only gave a simplified
> example to help illustrate my problem. :-)
>
> >
> > However, I tried your code and cannot reproduce your problem. The page
seems
> > 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
"hello
> > world"? If not, you may need to go into your IIS settings and turn asp
on. I
> > seem to recall that asp is not on by default in IIS6.
>
> 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.
- Next message: Web Spinner: "Re: JavaScript not working with ASP"
- Previous message: Amol: "OCXQMAIL is Not sending proper e-mails in different languages"
- In reply to: Web Spinner: "Re: JavaScript not working with ASP"
- Next in thread: Web Spinner: "Re: JavaScript not working with ASP"
- Reply: Web Spinner: "Re: JavaScript not working with ASP"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|