D
Dan McCloud
Is there anything 'wrong' with setting the value of a drop down menu
using the following?
document.frmStep1.drpInvaddress.value = 'A1020761603!>\>R2'
This string is a key in our database that I have no control over and I
want to set the value of the menu according to this value because it
is unique. I suspect that the '\' or the '>' or the '!' is making
Javascript think that this is a different type of data than string.
Is there a way to 'force' Javascript to interpret this as string?
using the following?
document.frmStep1.drpInvaddress.value = 'A1020761603!>\>R2'
This string is a key in our database that I have no control over and I
want to set the value of the menu according to this value because it
is unique. I suspect that the '\' or the '>' or the '!' is making
Javascript think that this is a different type of data than string.
Is there a way to 'force' Javascript to interpret this as string?