### Input Select Element

Example of an Input Select Element using W3.CSS style in a B4J Server application.
As taken from B4J HowTo Example:
107. WebApp showing Dialogs with W3.CSS styling
Documentation on request.
HTML Code
<div class="w3-input-group">
<label class="w3-label">Input Select</label>
<select class="w3-select" name="option" id="inputselect">
<option value="" disabled selected>Choose your option</option>
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
</select>
<span class="w3-tiny w3-sand">Make a selection.</span>
</div>
B4J Code
`Sub Class_Globals
...
Private inputselect As JQueryElement
...
Set the Value:
'Sets option 2 - defined as option value="2" in inputselect.SetVal("2")
Get the Value:
'This will return the value like 1,2,3
Log(">InputSelect: " & inputselect.GetVal.Value)
`

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