showing results for - "reset div jquery"
Sofia
29 Oct 2016
1/* Answer to: "reset div jquery" */
2
3var originalState = $("#some_div").html();
4$("#some_div").html(originalState);
5
6/*
7  Check here (source) for more information and potentially better solutions:
8  https://stackoverflow.com/questions/5557641/how-can-i-reset-div-to-its-original-state-after-it-has-been-modified-by-java
9*/