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) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -