How to find input element id by value?
- by Abs
Hello all,
How do I get the id of an input element based on its value? The values will always be unique and there are only 7 of them. I have tried this:
$('#wrapper').find("input[value='"+value+"']").each(function(){
return this.id;
});
But nothing is returned!
Thanks all for any help