August 19th, 2003, 07:36 AM
I have a select list with an onChange event and I'm having problems with it. The option value contains strings that can have double quotes escaped with a \. The option values are surround by double quotes:
<option value="This is a \"test\".">Test</option>
For some reason the one with the escaped double quotes return an error when the onChange event is triggered. It looks as though the doubel quotes are not escaped correctly. Am I escaping the double quotes corretly?? I have the same problem when I tried to surround the option value with single quotes because some of the values contain single quotes.
August 19th, 2003, 08:05 AM