title: Jquery Selector- Getting a element based on attribute value
body: <p>I am creating calendar type control with my html application and i have used table format to achive. In this calendar i have added the date attribute to td elements and my dom will like below</p>
  
  <pre><code>&lt;td date="Tue Aug 30 2016" class="current"&gt;30&lt;/td&gt;
  &lt;td date="Mon Aug 29 2016" class="current"&gt;29&lt;/td&gt;
  </code></pre>
  
  <p>I have added the date attributes like this to all dates in that month calendar.</p>
  
  <p>I want to use this date attribute with jQuery selector to retrive that particular td element. Also my date attribute value will get from below code</p>
  
  <pre><code>new Date("11/05/2016").toDateString(); // out will like "Sat Nov 05 2016"
  </code></pre>
  
  <p>I want select the elements some thing like this</p>
  
  <pre><code>$('.current[date=new Date("11/05/2016").toDateString()]')
  </code></pre>
  
  <p>// here i have set the 11/05/2016 manually but this will get from local storage variable.</p>
  
  <p>Thanks for any suggestion</p>