[thelist] URL variable to FORM input field variable problem

Chris at globet.com Chris at globet.com
Fri Feb 24 13:53:03 CST 2006


John

> > <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 :)

<https://www.sheridan.edu/uportal/login/index.htm?uPfname=eservices-outl
ook>

HTH!

Chris Marsh
Web Developer
http://www.globet.com/
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. 



More information about the thelist mailing list