Selector bug with input and attribute on version 1.9.x

Selector bug with input and attribute on version 1.9.x

Hello devs,

Here is my simple html:

  1. <html>
        <head>
        <script src="http://code.jquery.com/jquery-1.9.0.min.js"></script>
        </head>
        <body>
            <form id="myForm">
                <input value="" name="test" />
            </form>
        <body>
    </html>








When I load my page the first time, my input has no value, so when I query that way:
  1. $('#myForm :text[value][value!=""]')
No input matchs which is correct.

But when I manually enter a value in the input after pageload and I query the same way, it should match my input field, but it doesn't.

The problem occured since version 1.9.x.

Tested on ubuntu 12.04 and Firefox 19.0