<script>
$("a[data-toggle='modal']").bind("click",function () {
var id = $(this).attr('data-id');
$.ajax({
url: "test",
cache: false,
data: { id: id },
type: "POST",
success: function(html) { $('.modal-content').html(html);}
});
});
</script>
<a href="#" data-id="{{$event->id}}" data-toggle="modal" data-target="#myModal">...</a>