Vote count:
0
Have a series of page.handlebars that load dynamically into a {{{body}}} of a main layout.
On redirect of a page to certain pages, would like to show a Bootstrap Modal onLoad.
This would need to be within the body of the page, and the modalID is loaded dynamically.
This would seem to be correct, but what needs to be tweaked for it to work?
<script type="text/javascript">
$(document).ready(function(){
$('#{{activate.[0]}}').modal('show')
});
</script>
asked 1 min ago
Aucun commentaire:
Enregistrer un commentaire