I think you'll find that URLEncode is a method of the Server object. Which a client side script will not have. -----Original Message----- From: Lau [mailto:lau at goldenweb.com.au] Sent: Monday, 20 May 2002 12:54 PM To: javascript at LaTech.edu Subject: [Javascript] What's the equivalent of vbscript URLEncode in javascript? How do I encode a URL in javascript? I can't find a function that is equivalent to vbxcripts URLencode. Thanks in advance Lau _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript