try '

Cheers
James

Justin French wrote:

Hi all,

I feel incredibly inept for even asking this question, but I can't find a solution. I have an application that widely uses single quotes for tag attributes, which is perfectly valid XHTML, eg:
<input type='text' name='surname' value='French' />


However, I can't find a way of escaping a single quote inside the attribute, which is causing problems with surnames which have an apostrophe, eg:
<input type='text' name='surname' value='O'Riley' />




*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************




Reply via email to