Grow your CSS skills. Land your dream job.

Tables

  • # January 20, 2012 at 2:21 pm

    Hey,

    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?

    Thanks

    Ben

    # 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:

    http://jsfiddle.net/yg4Ae/

    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.

*May or may not contain any actual "CSS" or "Tricks".