Wildcard in jQuery selector
<p>I'd like to retrieve all elements which start with a specific ID. After a short search, the solution appeared to be:</p>

<pre><code>$('*[id^="foo_"]')
</code></pre>

<p>to select all elements with an ID starting with <code>foo_</code>. Although this selector syntax is very logical, I was just wondering whether it is possible to do this in a more 'shorthand' way, like:</p>

<pre><code>$('#foo_*');
</code></pre>

<p>This did not work, however. Is there support for wildcarting like this?</p>
