[jQuery] Selection broken in Firefox 3.5.7

2010-01-19 Thread Jeff
Hi, I have the following code to ensure at least one report checkbox is checked on my page if ($(input[type='checkbox'][checked]).size() == 0) { $(#error).css(color, red).text(Please select at least one report.); return false; }

Re: [jQuery] Selection broken in Firefox 3.5.7

2010-01-19 Thread Nathan Klatt
On Tue, Jan 19, 2010 at 2:31 PM, Jeff fnd...@gmail.com wrote: if ($(input[type='checkbox'][checked]).size() == 0) Think you want: if ($(input[type='checkbox']:checked).size() == 0) Nathan