title: how to remove anchor or add them in blank ul li using jQuery
body: <p>I want to add an anchor in li and want to remove from another li but don't know how it can be done. Does anyone know how this is possible using jQuery?</p>
  
  <p>add them in blank</p>
  
  <pre><code>&lt;li&gt;
  &lt;!-- i think to add the anchor here by many attribute ---&gt;
  &lt;/li&gt;
  
  &lt;li&gt;
  &lt;!-- this anchor how i can remove -- &gt;
  &lt;a&gt;&lt;/a&gt;
  &lt;/li&gt;
  </code></pre>
  
  <p>the logic i want to do something like</p>
  
  <p>when event fire :-</p>
  
  <pre><code>var cur = cur; // current is variable where i store li who i want to do.
  </code></pre>
  
  <p>how i can remove them from it and how i can add if they really have not anchor on them.</p>