JqxCheckBox
Description
The jqxCheckBox widget displays a check box that allows the end-user to select a true, false or indeterminate condition.
Properties and Methods
See the complete documentation at jqWidget's site: http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxcheckandradio/jquery-checkbox-getting-started.htm
Example (Basic)
Dim thisExchange, value
thisExchange=""
Function xcbNYSE_onclick()
thisExchange="Y"
MsgBox("You chose the New York Stock Exchange!")
End Function
Function xcbNASDAQ_onchange()
MsgBox("You chose the Nasdaq Stock Exchange!")
End Function
Function xcbAMEX_onchange()
value = $("#xcbAMEX").jqxCheckBox("val");
if value=True Then
MsgBox("You chose the American Stock Exchange!")
End if
End Function
Function Button1_onclick()
$("#xcbNYSE").jqxCheckBox("uncheck");
$("#xcbNASDAQ").jqxCheckBox("uncheck");
$("#xcbAMEX").jqxCheckBox("uncheck");
thisExchange=""
End Function
Example (JavaScript)
var countries;
countries = new Array("Afghanistan", "Albania", "Algeria", "Andorra", "Angola", "Antarctica", _
"Antigua and Barbuda", "Argentina", "Armenia", "Australia", "Austria");
function setInput() {
$("#ipSymbol").jqxInput({ placeHolder: "Enter a country.", minLength: 2, source: countries, items: 6 });
}
Output
See above.
