Case insensitivity

Case insensitivity

I have the following working line of code...

  1. $("td.xlink").not(":contains('" + $("#filter_xlink").val() + "')").parent().hide();

and I need to make it case insensitive. I have tried the following

  1. $("td.xlink").toLowerCase().not(":contains('" + $("#filter_xlink").val().toLowerCase() + "')").parent().hide();

and several variations with no success. Can anyone help me out?