Take the 2-minute tour ×  how can i run any javascript in double
quotes ? For example:   i would like to execute an alert or any
other code in the value = "" (double quotes). Like:  <input
type="text" value="<script> onmouseover=alert(0);</script>" />
the code show as a string on page. So is there anyway to execute
script in double quotes ?  share|improve this question I don't
think you understand HTML well. You should learn about HTML,
Javascript and the DOM first. –  Konerak Feb 19 '12 at 12:43 ok
i will learn it . but can you answer this ? –  jasminder Feb 19
'12 at 13:02 What exactly do you want? You want to put
javascript code in a value tag? Why? And how would it get
activated? You put code in the onclick/onmouseover/on*** tag, or
in a script (tag) and link it to the input. –  Konerak Feb 19
'12 at 21:52 add comment  3 Answers  up vote 0 down vote
accepted  Ah, I see, you probably want to do something like
this:  <input type="text"
onchange="try{eval(this.value)}catch(e){}" />  That inline
script will