show message when the checkbox is checked code example
Example: checkbox value
<input type="checkbox" name="vehicle1" value="Bike">
The checkbox value is 'Bike'.
<input type="checkbox" name="vehicle1" value="Bike">
The checkbox value is 'Bike'.