📌  相关文章
📜  重置 div jquery - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:58.210000             🧑  作者: Mango

代码示例1
/* Answer to: "reset div jquery" */

var originalState = $("#some_div").html();
$("#some_div").html(originalState);

/*
  Check here (source) for more information and potentially better solutions:
  https://stackoverflow.com/questions/5557641/how-can-i-reset-div-to-its-original-state-after-it-has-been-modified-by-java
*/