I did read the FAQ. If you use method="GET" the form elements are
appended to the URL. I don't want the userid/pw transmitted in clear
text as part of the URL. I will be using HTTPS so the form data will
be encrypted.
Reading the form elements before the post or get does me no good as I
need the URL specified in the ACTION of the FORM to use the form
elements. A page on website A calls a page on website B. Website B
needs the user id/pw from website A to log into the system.
"Choxio" schrieb:
> I did read the FAQ.
I doubt that.
> If you use method="GET" the form elements are appended to the URL.
Actually, pairs or names and values of HTML elements, namely not
disabled form controls, delimited with an ampersand character, are
appended to the URI, not the HTML elements.
> I don't want the userid/pw transmitted in clear text as part of the
> URL. I will be using HTTPS so the form data will be encrypted.
ACK
> Reading the form elements before the post or get does me no good as I
> need the URL specified in the ACTION of the FORM to use the form
> elements.
>
> A page on website A calls a page on website B. Website B
> needs the user id/pw from website A to log into the system.
So Web site B, more precisely _resource_ B, has to process the data
submitted by Web site A, i.e. resource A. It does not matter what
platform or language is used for that as long as the underlying
application is a CGI application (which ASP scripted with *server-side*
JScript certainly is).
So your question was:
| Is it possible to access them from JavaScript?
The correct answer already given several times is "yes". That includes
all ECMAScript implementations where there is a language binding
provided by the CGI application, including Microsoft JScript to be used
with ASP (on IIS).
But if your question would have been "Is it possible to access them with
client-side JavaScript?", the correct answer would have been "no". See?
PointedEars
Choxio - 29 May 2005 05:46 GMT
I have done quite a bit of googling trying to track down a way to
"...access them with client-side JavaScript?" I have not found a way
of doing this so perhaps you're correct.
BTW, why do you doubt I read the FAQ? The FAQ does not address this
issue. Perhaps you should review
http://www.jibbering.com/faq/#FAQ4_13 or even better post an URL of a
FAQ discussing this problem.
And "ACK" - please elaborate.
I refined my question on May 18th (a day after my original post) to:
"Does a client-side (browser) JavaScript object allowing access to
posted form elements exist?" Instead of wasting your time attacking
previous posts perhaps you should spend a bit more time reading the
thread and address the question at hand. Based upon other's posts I
realized I was asking the wrong question and refined my post.
Randy Webb - 29 May 2005 11:29 GMT
> I have done quite a bit of googling trying to track down a way to
> "...access them with client-side JavaScript?" I have not found a way
> of doing this so perhaps you're correct.
>
> BTW, why do you doubt I read the FAQ?
Because it's obvious from your posting stlye that you have not read it,
in its entirety.
> The FAQ does not address this issue.
Probably not. It *does* address the issue of posting/quoting to this
group though.
> Perhaps you should review http://www.jibbering.com/faq/#FAQ4_13 or
> even better post an URL of a FAQ discussing this problem.
Before you make it that far into the FAQ, you would have made it to
section 2.3, paragraph 1:
<quote>
Before posting to clj, you should thoroughly read this document
</quote>
And then paragraph 6:
<quote>
When replying to a message on the group trim quotes of the preceding
messages to the minimum needed and add your comments below the pertinent
section of quoted material, as per FYI28/RFC1855 (never top post).
</quote>
Note the part about quoting what you are replying to.
<snip>

Signature
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Thomas 'PointedEars' Lahn - 29 May 2005 17:49 GMT
> BTW, why do you doubt I read the FAQ?
Because your posting behavior tells so.
> The FAQ does not address this issue.
It includes a description of accepted ways to post to a newsgroup,
particularly this one.
> Perhaps you should review http://www.jibbering.com/faq/#FAQ4_13
Are you kidding? *I* should review the FAQ regarding *your* problems?
You must think that this is a support forum or something like that,
and that I am your support agent.
> [...]
> And "ACK" - please elaborate.
<http://www.restlessmind.com/jargon/?entry=ACK>
> I refined my question on May 18th (a day after my original post) to:
> "Does a client-side (browser) JavaScript object allowing access to
> posted form elements exist?" Instead of wasting your time attacking
> previous posts perhaps you should spend a bit more time reading the
> thread and address the question at hand. Based upon other's posts I
> realized I was asking the wrong question and refined my post.
You better cool down quickly. You posted a new question in an old
thread as a side note on the bottom of a posting. It was likely that
it got overlooked.
However, yes, a client-side JavaScript object for that exists,
but I don't think it is available outside of an XUL environment.
Look into <http://livehttpheaders.mozdev.org/>.
PointedEars