jqxCheckBox requires the following files:
jqx.base.css
jqxcore.js
jqxcheckbox.js
<script src="~/jqwidgets/jqxcheckbox.js"></script> <jqx-check-box animation-hide-delay="300">CheckBox</jqx-check-box>To call a function(method), you need to pass the method name and parameters(if any) in the jqxCheckBox’s instance.
<script src="~/jqwidgets/jqxcheckbox.js"></script> <jqx-check-box instance="getInstance()">CheckBox</jqx-check-box> @section scripts { <script type="text/javascript"> function getInstance(instance) { instance["uncheck"](); } </script> }To bind to an event of a UI component, you can use
on-event-type
syntax. The example
code below demonstrates how to bind to an event.
<script src="~/jqwidgets/jqxcheckbox.js"></script> <jqx-check-box on-checked="eventHandler()">CheckBox</jqx-check-box> @section scripts { <script type="text/javascript"> function eventHandler(event) { } </script> }