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

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -