### Input RadioButton Element

Example of a RadioButton Element using W3.CSS style in a B4J Server application.
As taken from B4J HowTo Examples:
Documentation on request.
HTML Code
<div class="w3-input-group">
<input class="w3-radio" type="radio" name="inputradio" value="A" id="inputradio1" checked="checked">
<label class="w3-validate">A</label>
<input class="w3-radio" type="radio" name="inputradio" value="B" id="inputradio2" >
<label class="w3-validate">B</label>
</div>
B4J Code
`Sub Class_Globals
...
Private inputradio1 As JQueryElement
Private inputradio2 As JQueryElement
...
End Sub`
Get the Value:
Log(">InputRadio1: " & inputradio1.GetProp("checked").Value) 'This will return the value true or false
Log(">InputRadio2: " & inputradio2.GetProp("checked").Value) 'This will return the value true or false

Changed: 2018-06-07 09:29, Category: WebApps W3 CSS, File: T6C283M2117.htm, ID: 2117