Answers for "thymeleaf pass variable to javascript"

0

thymeleaf pass variable to javascript

<script th:inline="javascript">
    var username = [[${session.user.name}]];
</script>
Posted by: Guest on October-26-2021

Code answers related to "thymeleaf pass variable to javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language