以下行是添加(+)和删除(-)的内容:
<div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button> <h4 class="modal-title" style="text-align:center;font-weight:bold;color:#527efc"></h4></div> <div class="modal-body" id='audioId'> <div class="playerContainer1" > <iframe class="player" src="http://vok.rep.kp/hls/player/" scrolling="no" allowfullscreen webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen></iframe></div> </div> <script> $("#draggable").on('hide.bs.modal', function () { $("#audioId").html(""); });$(".ms").click(function(){ var PDID=$(this).attr('PDID'); var spath="http://vok.rep.kp/hls/player/"; $("#draggable").on('show.bs.modal', function () { $("#audioId").html("<iframe class='player' src= '"+spath+PDID+"' scrolling='no' allowfullscreen webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen></iframe>"); });});</script>