input[type=text] - backgroundColor: green
correctly selects elements with type attribute defined

<input>
<input>

<input type="text">
<input type="text">

input[type=text]:eq(1) - backgroundColor: red
incorrectly selects elements without type attribute defined

<input>
<input>

<input type="text">
<input type="text">