Skip to content

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

License

Notifications You must be signed in to change notification settings

eleven41/conditional-visibility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published