Tri-State Checkbox

I’ve created a WAI-ARIA compliant javascript checkbox control (MIT/BSD/GPL licensed).


Demo available here.

Source code is available here.

This continues on my previous post regarding checkbox images, I’ve enhanced the images to include a disabled state for both the mixed and checked states.

checkboxes

  1. Hi warlock,

    Your column of tristate check box is very interesting one.

    I have used this way to create a tri state check boxes.

    But Can I use or create a tri state check boxes without using images?

    If there is any way means Please give some examples to my email or put the post like these..

    Thanks Myl

  2. Hi Mylsamy,

    To my knowledge, there is no way to implement such a control without images. There may be some browser-specific ways (http://www-archive.mozilla.org/xpfe/xptoolkit/checkboxes.html), but nothing standard.

    -Ryan

  3. Any way to make this work on mobile browsers. It doesn’t work in safari or chrome on the iPad.

  4. Hi Joseph,

    Sorry I haven’t had a chance to look at this in a while. I don’t have time to redo it for mobile browsers, but feel free to fork it and send me a pull request.

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>