I want to pass a variable in a selector jquery but I don't find the right syntaxe.
I have this :
var jsonobject = eval(responseObject);
for(var item in jsonobject)
{
$('#",jsonobject[item],"').css("background-color","red");
}
So the variable is jsonobject[item]
and I want to use the value in it as the name of the selector.
Thanks for your help !