anthonycervantes
Programmer
I am trying to pass email addresses via a querysting. The problem is if I have an email address that has a "&" it does work right. I have tried all these before it is put into the querystring:
frm.txtEmail.value = replace(frm.txtEmail.value,"&","&"
frm.txtEmail.value = replace(frm.txtEmail.value,"&","&amp"
frm.txtEmail.value = replace(frm.txtEmail.value,"&","'&'"
frm.txtEmail.value = replace(frm.txtEmail.value,"&","'&amp'"
and it still doesn't work. I am at a loss. I know that the browser sees the & and thinks it is concantinating whatever was next to it. Help, please.
AC
frm.txtEmail.value = replace(frm.txtEmail.value,"&","&"
frm.txtEmail.value = replace(frm.txtEmail.value,"&","&amp"
frm.txtEmail.value = replace(frm.txtEmail.value,"&","'&'"
frm.txtEmail.value = replace(frm.txtEmail.value,"&","'&amp'"
and it still doesn't work. I am at a loss. I know that the browser sees the & and thinks it is concantinating whatever was next to it. Help, please.
AC