jQuery id^= not working? : <p>Hi I'm trying to simulate a click on multiple buttons which all start with the same id values. I did not make this site I'm trying to make a script so users don't have to press every button. Selecting the individual id works but when I try to use id^= it does not:</p>

<pre><code>$(id='UnsubscribeItemBtn485527146')
&lt;a href=​"javascript:​UnsubscribeItem( '485527146', '255710' )​;​" id=​"UnsubscribeItemBtn485527146" class=​"btn_grey_black btn_medium"&gt;​…​&lt;/a&gt;

$(id^='UnsubscribeItemBtn')
0
</code></pre>

<p>Can anyone shed some light on this?
If I'm being really stupid go easy I'm new to this!
​</p>
