25
rated 0 times
[
29]
[
4]
/ answers: 1 / hits: 28363
/ 9 Years ago, wed, april 22, 2015, 12:00:00
I'm trying to write some Javascript code where I need to use a model attribute. Here is how I define the script tag:
<script type=text/javascript th:inline=javascript>
/*<![CDATA[*/
//need some loops
/*]]>*/
</script>
What I need to do is, using each
iterations over model attributes inside the script. So far I couldn't manage to do this with th:each
. Any help is appreciated.
More From » spring