I’ve an input text filled with a this string "foo foo"<foo@foo.it> but after the insert the string look like this "foo foo"<foo@foo.it></foo@foo.it>. How i can resolve it? I want to show the string in first format!
I’ve an input text filled with a this string foo foo<foo@foo.it> but after the
Share
You probably have something like this:
<input type="text" value=""foo foo"<foo@foo.it>" />Change double quotes around the
valueattribute to single quotes. That will allow you to have double quotes inside the value of the attribute:<input type="text" value='"foo foo"<foo@foo.it>' />But now you can’t have single quotes inside the value. If you need both single and double, then you will have to use a
textarea.Or alternatively, you can replace double quotes with
".