bootstrap清除拟态框内添加新HTML再打开时会有缓存现象
$(function(){ $("#editor").on("hidden.bs.modal",function(){ //清除缓存方法 $(this).find("#textareaTo").empty(); }); });
$(function(){ $("#editor").on("hidden.bs.modal",function(){ //清除缓存方法 $(this).find("#textareaTo").empty(); }); });