I have a link like this.
<a value-id='1' href='#myModal' class='marker' title='Edit'>LINK</a>
Inside the modal i would like to receive the value in php.
<div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<?php
//CODE TO PUT THE VALUE INSIDE A VARIABLE
?>
</div>
</div>
</div>
My question is how to put the value inside the variable ?
您可以按如下所示使用Bootstrap的.on(shown.bs.modal)并获取与其相关的eventTarget并获取其文本。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.