Copyright (C) 2018, Eleven41 Software Inc.
Javascript library to set the visibility of HTML controls based on values of other controls.
Install-Package conditional-visibility
- jQuery 2.0.0 or later
The following types of controls can be used as visibility targets:
- input (checkbox)
- select
<select id="Show1">
<option value="true">Show</option>
<option value="false">Hide</option>
</select>
<div data-visibility-target="Show1"
data-visibility-value="true">
This div is now showing because of the select.
</div>