Hello,
I'm trying to add a "onchange" attribute to an "input" tag.
The onchange attribute contains javascript code with apostrophes (').
These apostrophes are encoded (') in the resulting html.
Java code
...
new AttributeModifier("onchange", new
Model<String>("document.getElementById('navbar').classList.toggle('cond
ensedNav');")
...
Resulting html
...
onchange="document.getElementById('navbar').classList.toggle(
'condensedNav');"
...
How can I avoid it?
Regards
Alberto
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]