Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

URL Encode

Status
Not open for further replies.

Yale

Programmer
Sep 30, 2004
31
US
<script language="VBScript">
Function validateForm()
dim origURL
origURL = Trim(document.frmURLinfo.txtSourceURL.value)
document.frmURLinfo.txtgeneratedURL.value = --> i want this field's value to be the url encoded value of origURL... how do i do that? "server.URLEncode(origURL)" does not work... help! :(
</script>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top