actually, more precise would be: $("input[type='text][id$='date']")
and this is right off the jQuery documentation here: http://docs.jquery.com/Selectors/attributeEndsWith#attributevalue and here: http://docs.jquery.com/Selectors/attributeMultiple#attributeFilter1attributeFilter2attributeFilterN