我正在使用"Thymeleaf",我想将值发送到javascript,我是新手,我正在尝试下面的代码:
onclick="getPropId('${properties.id}')"
和功能
getPropId(inputID){alert(inputId);}
但我没有获得实际价值.
html javascript java jquery thymeleaf
html ×1
java ×1
javascript ×1
jquery ×1
thymeleaf ×1