I want to pass the Client ID from a link to a modal like this
<a id="start" data-toggle="modal" href="#static" onclick="start();" data-book-id="<?=$id_cl?>">
and i pickup this id using jquery like this
<script type="text/javascript">
$('#static').on('show.bs.modal', function(e) {
var bookId = $(e.relatedTarget).data('book-id');
});
</script>
the probleme is how to pickup this bookId and use it to excute query to fetch some data using php