[thelist] java script and forms

Oliver Lockwood isdarksaber at hotmail.com
Thu Jun 7 13:16:55 CDT 2001


yeah, I understood that but I don't know how to use the url object, I'm 
really new to programming, I've only been looking at java script for a few 
days.

The way that I've tried is like this :

document.write = ('<a class="type1">' + url.mfa + '</a>');

its not working so I'm wondering what to do.



>:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>: From: Oliver Lockwood
>:
>: cheers for that but I don't know how to use
>: a url "scope" ro recall the values so I'm
>: still suck!! How do I do this?
>:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>i gave an example of how to access them.  all the variables in the
>query-string are available as properties of a url object.  so, you've got a
>url like this:
>
>brotherb.html?mfa=asdf&mfb=asdf&mfc=asdf&ffa=asdf
>
>using this script, it will create a url object with the properties: mfa,
>mfb, mfc, and ffa.  you can access the values of these properties through
>the url object, like this:
>
>url.mfa
>url.mfb
>url.mfc
>url.ffa
>
>make more sense?
>
>good luck,
>
>.jeff
>
>http://evolt.org/
>jeff at members.evolt.org
>http://members.evolt.org/jeff/
>
>
>
>---------------------------------------
>For unsubscribe and other options, including
>the Tip Harvester and archive of TheList go to:
>http://lists.evolt.org Workers of the Web, evolt !

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





More information about the thelist mailing list