🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

A small and easy-to-use jQuery Conditional Logic plugin that allows user to control the visibility of DOM elements based on the input (select or checkbox).

Conditional-Logic

Documentation

conditional-visibility

Copyright (C) 2018, Eleven41 Software Inc.

Javascript library to set the visibility of HTML controls based on values of other controls.

Get It on NuGet!

Install-Package conditional-visibility 

LICENSE

MIT License

Requirements

  • jQuery 2.0.0 or later

Supported Controls

The following types of controls can be used as visibility targets:

  • input (checkbox)
  • select

Example

<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>

You May Also Like