JQuery Selector for dynamic id
===

I am trying to change the image source in the Jquery 

`<a href="" class="wanted" id="'.$status_id[$num].'"><img src="/images/wanted.png">` 


through a JQuery selector `$(".wanted "+ id).attr("src", '/images/wanted_.png');` where 

id is defined is the javascript as the php variable `$status_id[$num]`. I first tried using $(this) to no avail. Any insight would be helpful.

Thanks!


