title: Clearing only specific cookies
body: <p>How can I clear only two cookies using JavaScript? </p>
  
  <p>I use the below code to set these cookies.</p>
  
  <pre><code>function setCookie(c_name, value, exdays)
  {
      var exdate = new Date();
      exdate.setDate(exdate.getDate() + exdays);
      var c_value = escape(value) + ((exdays==null) ? "" : ";expires=" + exdate.toUTCString());
      document.cookie = c_name + "=" + c_value;
  }
  </code></pre>