I am trying to change the style of an entire specific row if, within that row, an element contains a plain text that I receive through a parameter in the url.
With this code I extract the variable hidden in the url.
var query = window.location.search.substring(1);
var idDeny = query.split("=");
var psf=idDeny.pop();
Now I want to look for that variable within the rows of my table and when I find it: that I modify its style by shading it a little to indicate to the user where that element is.
I was trying something like this:
$("#tSearch tr").find(psf) {
$(this).css('background-color','#000');
});