Hello,
i have an inline popup that shows a list of checkboxes and associated labels each in seperate span element. i want to add a text box where user can type to filter the values (user names) in the popup. i have following code
$("#toEmpFilter").live("change", function () {
var FilterVal = $(this).val();
$("input.boxes").not("[title*=" + FilterVal + "]").each(function () {
$(this).parent("span.clscheck").hide();
});
$("input.boxes[title*=" + FilterVal + "]").each(function () {
$(this).parent("span.clscheck").show();
});
});
label values are copied in title field like . this code works fine. the only problem with it is title*=FilterVal makes a case Sensitive comparison while i need case insensitive comparison. i have done some time on google but can only find extending :extend like keywords as opposed to *= or $= operators regards