I\'m trying to use a wildcard to get the id of all the elements whose id begin with \"jander\". I tried $(\'#jander*\'), $(\'#jander%\') but it doe
$(\'#jander*\')
$(\'#jander%\')
To get the id from the wildcard match:
$('[id^=pick_]').click( function(event) { // Do something with the id # here: alert('Picked: '+ event.target.id.slice(5)); } );
moo1 moo2 moo3