[thelist] URL variable to FORM input field variable problem

Bruso, John jbruso at SHERIDAN.EDU
Fri Feb 24 14:06:57 CST 2006

Oh wow.. that's funny...




thanks Chris!!




John Bruso

IS Developer

Sheridan College

ph  307.674-6446-2608







-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Chris at globet.com
Sent: Friday, February 24, 2006 12:53 PM
To: thelist at lists.evolt.org
Subject: Re: [thelist] URL variable to FORM input field variable problem




> > <SCRIPT>

> > var args = parseQueryString ();

> > var myValue = args["uP_fname"];

> > alert (args);

> > </SCRIPT>


> I changed it to myValue, but now it just says undefined.


If your alert is displaying "undefined", this should be an indication

that you have not defined a value for myValue. myValue references

args["uP_fname"]. So: if you have not defined a value for myValue, then

args["uP_fname"] has not had a value defined. Inspecting the URI that

you have supplied will reveal that you have no value in the querystring

identified by the identifier "uP_fname". The solution is left as an

exercise for the reader :)







Chris Marsh

Web Developer


Tel: +44 20 8246 4804 Ext 828

Fax: +44 20 8246 4808


Any opinions expressed in this email are those of the individual and not

necessarily the Company. This message is intended for the use of the

individual or entity to which it is addressed and may contain

information that is confidential and privileged and exempt from

disclosure under applicable law. If the reader of this message is not

the intended recipient, you are hereby notified that any dissemination,

distribution, or copying of this communication is strictly prohibited.

If you have received this communication in error, please contact the

sender immediately and delete it from your system. 



* * Please support the community that supports you.  * *



For unsubscribe and other options, including the Tip Harvester 

and archives of thelist go to: http://lists.evolt.org 

Workers of the Web, evolt ! 

More information about the thelist mailing list