Hi,
I'm having to create a querysting with javascript. My problem is that
javscript turns the "&" characher into "&" when it gets used as a
querystring in the url EG:
/mypage.asp?value1=1&value2=4& ...
which of course means nothing to asp.
I know in vbscript you can force a "&" to be outputed using something
like chr(38). Is there something similar for javascript? I cant find
mention of it anywhere! Or any alternatives, or something i have
missed? I'm completely stuck!
Heres my code :
function setvalue(){
var vname = fmContact.realname.value
var vemail =fmContact.email.value
var vphonenumber = fmContact.phonenumber.value
var vmessage = fmContact.message.value
fmContact.missing_fields_redirect.value =
"http://www.mywebsite.com/contact.asp?missing=1" & "&realname=" &
vname & "&email=" & vemail & "&phonenumber=" & vphonenumber &
"&message=" & vmessage
}
Thanks in advance.