CheckBox

Simple checkbox control allowing for user interaction.

Basic example
var chk = new Fit.Controls.CheckBox("CheckBox1");
chk.Label("Turn on notifications");
chk.Checked(true);
chk.OnChange(function(sender)
{
    alert("CheckBox checked: " + (chk.Checked() ? "Yes" : "No"));
});
chk.Render(document.body);
Fit.UI is open source (LGPL) - download or fork it on GitHub - website powered by Sitemagic CMS