Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to create a variable in thymeleaf

You can use local variables. Declare an HTML element with a th:with attribute. For example <div th:with="someVariable=${someValue}"
 
PREVIOUS NEXT
Tagged: #create #variable #thymeleaf
ADD COMMENT
Topic
Name
4+6 =