Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 211
  • Last Modified:

Quote marks within a String

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
spunog
Asked:
spunog
1 Solution
 
MarianneCommented:
1) value="MyString is : "Hello""
2) value='MyString is : "Hello"'
0
 
spunogAuthor Commented:
Thanks leveret,
Thats working nicely
Spunog.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now