Re: 2 Qs re JS scripting
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Sat, 13 Aug 2005 12:32:47 -0400
Randy Webb wrote:
>>
>>
>> I meant to stay "Internet Explorer"; though I should have just said
>> "a browser":
>>
>> ... you can't do this (via a browser):
>>
>> C:\Inetpub\wwwroot\test.asp?A=a&B=b&C=c
>
> I find that odd, because that is precisely how I tested the code I
Bad example. McKirahan should have said:
C:\test.asp?A=a&B=b&C=c
This will guarantee that no web server will be involved and the test should
result in a "not found" message ... at least it does for me.
> posted. The question is whether you want to deal with the queryString
> in ASP (or any other server language) or in the browser.
But that fails to address the OP's question. Remember? He wanted to open a
..htm file containing a querystring from a hard drive - no web server
involved.
>>1. I have an HTML file on a local harddisk and I want to open it from
>>another local .js file passing it a string for it to read and display
>>e.g. test.html?this_is/atest so how do I do all of that?!
> If in the
> browser, then JS is very well capable of picking up the A=a&B=b&C=c
> part of the URL, split it, assign variables, and act upon them.
>
> Submitting a page to itself will create a queryString for you, test
> it :)
Again, submitting requires a web server.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
.
- Follow-Ups:
- Re: 2 Qs re JS scripting
- From: Randy Webb
- Re: 2 Qs re JS scripting
- References:
- 2 Qs re JS scripting
- From: Adrian
- Re: 2 Qs re JS scripting
- From: Bob Barrows [MVP]
- Re: 2 Qs re JS scripting
- From: Randy Webb
- Re: 2 Qs re JS scripting
- From: Bob Barrows [MVP]
- Re: 2 Qs re JS scripting
- From: McKirahan
- Re: 2 Qs re JS scripting
- From: McKirahan
- Re: 2 Qs re JS scripting
- From: Randy Webb
- 2 Qs re JS scripting
- Prev by Date: Re: 2 Qs re JS scripting
- Next by Date: Re: 2 Qs re JS scripting
- Previous by thread: Re: 2 Qs re JS scripting
- Next by thread: Re: 2 Qs re JS scripting
- Index(es):
Relevant Pages
|