SyntaxFix
Write A Post
Hire A Developer
Questions
You want to restrict to input fields that are of type text so use the selector input[type=text] rather than input (which will apply to all input fields (e.g. those of type submit as well)).
input[type=text]
input