[Javascript] Extract portion of URL and place in form field

Phillp Morgan pmorgan at quickpages.net.au
Sun May 19 20:22:24 CDT 2002


Hi, I would like to grab the text after the '=' and place it in the form
field 'ticket'. This is a form with only one field, the formname is
'sverify'

This is the string...
http://www.mysite.com/thanks.html?cbreceipt=Z54HKPT7

I'm after the Z54HKPT7.

How would I do this?

Regards,

Phillip Morgan
Chief Information Offier
Quickpages Business Directories
----------------------------------------------------------------------------
------------
This email is intended for the above named recipient only, and may contain
priveledged information. If you are not the intended recipient please delete
this email immediately and notify Quickpages of the problem.




More information about the Javascript mailing list