|
|
 |
Re: FN-FORUM Javascipt and GET action in a form
date posted 19th April 2001 16:51
strQS=location.search; 'get querystring
strQS=strQS.slice(1) 'remove leading '?'
arrQS=strQS.split('&') 'split string on '&'
arrQS is now an array of string containing x=y
hth
dave ecky
David Eckersall
Kinetic North Limited
A member of the Wize Group of companies
Reg Co No 4100142
Reg Office and Business Address
St James House, Wellington Road North
Stockport SK4 2QN
Office Tel - 00 44 161 975 5900
Office Fax - 00 44 161 975 5924
Web - http://www.kineticnorth.com
This communication contains information which is confidential and may also
be privileged. It is for the exclusive use of the intended recipient(s). If
you are not the intended recipient(s) please note that any form of
distribution, copying or use of this communication or the information in it
is strictly prohibited and may be unlawful. If you have received this
communication in error please return it to the sender. Internet e-mails are
not necessarily secure. Kinetic North Limited does not accept responsibility
for changes made to this message after it was sent. Our messages are checked
for viruses but please note that we do not accept liability for any viruses
which may be transmitted in or with this message.
----- Original Message -----
From: "Morgan Richards" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Thursday, April 19, 2001 4:10 PM
Subject: FN-FORUM Javascipt and GET action in a form
> I need to pull out some form variables from a GET encoded URL, in the
> fashion of :
>
> www.myserver.com/mypage.htm?varname=xyx
>
> how do I refrence the varname object in javascript, or can't you? Do you
> have to do something odd, or am I just missing something?
>
> for example is it:
>
> document.write(form.varname)
>
> ?????
>
> Cheers
>
> Morgan
>
>
> ============================================================
>
> * Free listing for freelancers
> * Free to advertise jobs
> * Free jobs distribution service
> * Free database of 1000 freelancers
>
> Freelancers and Freelance Jobs
> http://www.freelancers.net
>
> To post to the Forum:
> [EMAIL REMOVED]
>
> To unsubscribe please email:
> [EMAIL REMOVED]
>
> If you have difficulties unsubscribing please email:
> [EMAIL REMOVED]
>
> To subscribe to the digest for this list or for further information please
visit:
> http://www.freelancers.net/forum.html
|
 |
|