Re: JavaScript not working with ASP

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Web Spinner (webspinner_at_inbox.lv)
Date: 03/31/04


Date: 30 Mar 2004 17:23:42 -0800


"Mark Schupp" <mschupp@ielearning.com> wrote in message news:<er$HcInFEHA.1840@TK2MSFTNGP12.phx.gbl>...
> It is the browser that is responsible for retrieving the script file based
> on the HTML code that it is interpreting.
>
> Can you post exactly what you see in "view source"?
>
> --
> Mark Schupp
> Head of Development
> Integrity eLearning
> www.ielearning.com

The view source displayed exactly what was in "x.asp". I didn't want
to place the same code in this thread again.

I found out what the problem was. IIS and PWS comes preconfigured
with a virtual directory called scripts which refers to the
directory "c:\inetpub\scripts". To fix this problem, I either
had to rename my "scripts" directory to something else, or place
all the javascript files under "c:\inetpub\scripts".

Thanks for all your help.



Relevant Pages

  • Re: do problem
    ... > their current value in the scripts, ... > How can I circumvent this without writing the html code in all the six scripts? ... cannot see lexicals in the enclosing scope; "eval STRING" does. ... use warnings; ...
    (perl.beginners)
  • Re: plz help:store googles news on local system and search for it
    ... Only problem to solve now is when there's html code in the ... If you've got any similar sorts of scripts might be interested in them ... this year so actively seeking this sort of script. ... Free Search Engine Optimization Tutorial ...
    (alt.internet.search-engines)
  • Re: JavaScript not working with ASP
    ... > It is the browser that is responsible for retrieving the script file based ... > on the HTML code that it is interpreting. ... > Mark Schupp ... had to rename my "scripts" directory to something else, ...
    (microsoft.public.inetserver.iis.activeserverpages)
  • Re: Newbie to ASP
    ... I understand about the two scripts ... the text file has HTML code as well as code that is ... surrounded by...tags. ... If you wish to not answer since I'm in the wrong newsgroup, ...
    (microsoft.public.inetserver.asp.general)
  • Re: Is it possible to export function / global variables from a vbs script file?
    ... script file. ... Running scripts from other scripts is easy. ... command line, or my favorite, the clipboard. ... The master retrieves the message and displays it. ...
    (microsoft.public.scripting.vbscript)