How do I use JQuery to get the attribute of a selected option?
<pre><code>&lt;select id="hello"&gt;
    &lt;option data-title="foo" value="1" selected="selected"&gt;Abcdefg&lt;/option
&lt;/select&gt;
</code></pre>

<p>To get the value of the selection, I usually do this:</p>

<pre><code>$("#hello").val(); // returns 1
</code></pre>

<p>But what if I want to get the data-title?</p>
