Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Tables

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36232
    Ben_Derby
    Participant

    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

    #95107
    vindicateme
    Participant

    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.

    #95138
    Ben_Derby
    Participant

    Thanks very much. :D

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.