Radiobutton

Visual

image-radiobutton
image-radiobutton

A normal radiobutton, styled to match the dizmo theme. To create a group of radio buttons, use the same name attribute for each member of a group.

Data type

<input type="radio" data-type="dizmo-radiobutton" value="1" name="choice">
<input type="radio" data-type="dizmo-radiobutton" value="2" name="choice">

Constraints

Works only on radiobutton elements.

Usage

To get the value of the checked radiobutton in the group, use the following call:

var data=DizmoElements('input[name=choice]:checked').val();