javascript - thymeleaf - pass variable to modal -
i open modal this:
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#upload">upload</button> i wondering if there way pass thymeleaf variable modal.
i found question angular.js used.
thanks!
you may try open modal dialog manually this:
$('button').click(function(){ // job $('#upload').modal('show'); });
Comments
Post a Comment