javascript - In the html text box, how to show value which itself contains "" symbol? -
is possible give "" symbol in html text box tag?
my requirement this:
<input name="myapi" id="testapi" type="text" value="{"value": "!myapi!sdfg" }" class="revapi" hidden="true"/> where {"value": "!myapi!sdfg" } value of text box
is there way so?
use html entities. here example
<input type = "text" value = ""{"value": "!myapi!sdfg"}""> javascript html
No comments:
Post a Comment