Why not
```js
var textInput = $('[type="text"]');
var submitInput = $('[type="submit"]');
```
Does he know about attribute selectors?