Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

' in the value of a text input

Posted on 2002-05-14
4
Medium Priority
?
146 Views
Last Modified: 2010-04-09
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!
0
Comment
Question by:boseani
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 5

Expert Comment

by:nfroio
ID: 7009188
Have you tried using either the ISO Latin code of: &#38;

or, the symbolic: &amp;

nfroio
0
 
LVL 5

Accepted Solution

by:
nfroio earned 800 total points
ID: 7009196
DoH! I think you are not meaning the Ampersand.. sigh... tis still early, and me brain ess no function righty yet..

solly..

you'll still need symbols, but alas, these, not those:

for ( ' ) &#039;

for ( " ) &#034;


nfroio
0
 

Author Comment

by:boseani
ID: 7009230
Excellent!!!
0
 
LVL 5

Expert Comment

by:nfroio
ID: 7009236
Thank you boseani, glad that I could help...

nfroio
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question