?
Solved

Quote marks within a String

Posted on 2002-05-27
2
Medium Priority
?
209 Views
Last Modified: 2010-04-09
Hi I have various strings that I need displayed in an input box on an html page. How can I set the text in a text box to include a " . So what I have is this :
value = " MyString is : "Hello"". So what should appear in the box is : MyString is : "Hello"   . Evrything that is after the first quote mark within the string is not displayed. Any ideas ?
Thanks
Spunog
0
Comment
Question by:spunog
2 Comments
 
LVL 2

Accepted Solution

by:
Marianne earned 200 total points
ID: 7036839
1) value="MyString is : "Hello""
2) value='MyString is : "Hello"'
0
 

Author Comment

by:spunog
ID: 7036848
Thanks leveret,
Thats working nicely
Spunog.
0

Featured Post

Industry Leaders: 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

Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

621 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