Link to home
Start Free TrialLog in
Avatar of boseani
boseani

asked on

' in the value of a text input

Hi,

Is there a way to put a ' and " inside the value of a input text field?

<input type=text value='hello's there, hello"s there'>
<input type=text value="hello's there, hello"s there">

Neither option above works.  The value string will get truncated.

Is there a way around this?

Thanks in advance!
Avatar of nfroio
nfroio
Flag of United States of America image

Have you tried using either the ISO Latin code of: &#38;

or, the symbolic: &amp;

nfroio
ASKER CERTIFIED SOLUTION
Avatar of nfroio
nfroio
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of boseani
boseani

ASKER

Excellent!!!
Thank you boseani, glad that I could help...

nfroio