SyntaxFix
Write A Post
Hire A Developer
Questions
I've seen this kind of thing work in the wild:
<input type="button" th:onclick="'javascript:getContactId(\'' + ${contact.id} + '\');'" />