Skip to content

Checkbox

Иван Калъчев edited this page Jan 15, 2023 · 3 revisions

The checkbox is a HTML component, that presents a boolean (true/false) value.

Checkboxes

How to use it?

Example Code

Normal checkbox

<label class="be-ch-countainer">Primary
     <input type="checkbox" checked="checked">
     <span class="be-ch-checkmark be-ch-checkmark-primary"></span>
</label>

Classes

be-ch-countainer be-ch-checkmark

Variants

be-ch-checkmark-primary

be-ch-checkmark-danger

be-ch-checkmark-warning

be-ch-checkmark-info

be-ch-checkmark-success

Get Value

JQuery

You can get the value of certain checkbox with JQuery, as it follows below.

$("#ID").checked

Clone this wiki locally