title: listitem - Remove - dynamically
body: <p>I have created the list based on the AJAX result. Basically dynamically add the items into the list. But In the second time ajax calling,the list item append to the previous items. I want to reload the list newly. It should contains results of second ajax calling.</p>
  
  <p>I want to remove the all the list items alone.Not a list from the page.</p>
  
  <p>Any one help me.</p>
  
  <p>Code for dynamically add the list value:</p>
  
  <pre><code>var parent = document.getElementById('listview');
  var listItem = document.createElement('li');
  listItem.setAttribute('id','listitem_'+i);
  listItem.innerHTML = "one";
  parent.appendChild(listItem);
  $(parent).listview("refresh"); 
  </code></pre>