All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.


  • # January 20, 2012 at 2:21 pm


    I have created a table with multi check box’s.

    Is there anyway once 3 or more box’s have been ticked I can show a message?



    # January 20, 2012 at 6:26 pm

    with jQuery, you can use the :checked selector and .length to determine how many checkboxes have been checked.

    example here:

    that should pretty much work; obviously you can replace the alert with whatever you want.

    # January 21, 2012 at 4:06 pm

    Thanks very much. :D

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed