I have a textbox, \'txtSearch\'. I am using it to search people by Last Name. this is my code.
var xmlTempResultSearch = xmlResidentListDisplay.selectNodes(
I don't think you need an "or" here. You just need to translate both operands to lower-case, rather than only translating one of them.