bootstrap清除拟态框内添加新HTML再打开时会有缓存现象

$(function(){
    $("#editor").on("hidden.bs.modal",function(){
        //清除缓存方法
        $(this).find("#textareaTo").empty();
    });
});

 

posted @ 2015-09-07 16:39  知兮  阅读(527)  评论(0编辑  收藏  举报