string - JavaScript variables with " -


i programming jsp page button on click, sends variable javascript funcion.

onclick="agregar('${c.id_question}','${d.text}');" 

the problem ${d.text} contains " character. , mixed html " , function not executed.

what can do?


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

xcode - Swift Playground - Files are not readable -

jboss7.x - JBoss AS 7.3 vs 7.4 and differences -