A previous stackoverflow question had this as part of its solution:
$.text([this])
I've never seen that syntax before. The complete statement was:
return $.text([this]).indexOf(myInput) == 0
So I'm thinking $(this).text() couldn't be used.
Q: Where is $.text([this]) mentioned in any of the documentation?