A problem with "quotes" in my text field
Posted on 2005-04-28
I've got to put a page together that allows the user to edit some descriptions. All is well until one of those descriptions includes a quote. For example 12" table. When that particular item is listed, all that shows up in the text field is "12".
The reason being is that the text field script looks like this...
<input type="text" size="45" name="Description" value="<% response.write RSResult("Description") %>">
As soon as the browser encounters the value where it reads 12" it perceives the quote after 12 as the end of the value. What can I do to ensure that the entire description (12" Conference Table) as opposed to a mere fragment (12) is displayed in my text field?