<script>
$(window).ready(function(){
$("#myModal").on("hidden.bs.modal", function() {
alert("DWDWADADDAWDAWD");
$(this).removeData("bs.modal");
});
});
</script>
<a class=" " href="${base}/getProfile" data-toggle="modal" data-target="#myModal">详细 </a>
<a class=" " href="${base}/getmusic" data-toggle="modal" data-target="#myModal">详细 </a>
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
</div>
</div>
</div>
为什么 已经$(this).removeData("bs.modal");