title: How to get class id of a button in jquery?
body: <p>How to get class id of a button in jquery?
  I am trying with this code.</p>
  
  <pre><code>&lt;div&gt;&lt;button id="Button2" class="Default"&gt;2. Click to get Class ID.&lt;/button&gt; &lt;/div&gt;
  </code></pre>
  
  <p>Thanks in advance!</p>