title: Get value of a custom attribute
body: <p>How can I get the value of a custom attribute using JavaScript?</p>
  <p>Like</p>
  <pre class="lang-html prettyprint-override"><code>&lt;strong id=&quot;the_id&quot; original-title=&quot;I NEED THIS&quot;&gt;
  </code></pre>
  <p>I've tried <code>.getAttribute()</code> and jQuery’s <code>.attr()</code> without success.</p>