title: Reset the html element using jquery
body: <p>I am having a div with lot of elements inside the div. For some scenario i want to reset the value for the div's element to the initial status.</p>
  
  <p>Is there any way to do this??</p>
  
  <pre><code>if($(window).width()&lt;=960){
      $('#desktopCart').html(/i want to reset this element/);
      } 
  
      if($(window).width()&gt;960){
      $('#mobileCart').html("/i want to reset this element/");
      }
  </code></pre>