[UPHPU] jQuery attribute selector not working in Chrome

Wade Preston Shearer wadeshearer.lists at me.com
Fri Jan 1 11:59:17 MST 2010


After much testing, I have concluded that in order to use jQuery with  
boolean attributes (and have it work in the big four browsers), the  
following markup must be used:

checked="checked"


While browsers except any of the following…

checked
checked=""
checked="true"
checked="1"
checked="checked"


…only the last option works with jQuery in all browsers.


More information about the UPHPU mailing list