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

Visibly is a unique simple to use plugin which allows the visibility of an item to be defined by the value of input values.

Conditional-Logic

Documentation

jQuery-Visibly

A jQuery Plugin designed to easily show elements based on values of other elements

Documentation

Setup

$('[visibly]').Visibly();

Options

clearOnHide: false,  //Clear the data from the elements on hide regularExpression: false, //This determines if regular expression is to be used for the test attr: 'visibly', //Data attribute to use for the visibly data vdelim: ',', //Delimeter used to split the values a control can hold edelim: ':', //Delimeter between the field ID and the values fdelim: ';' //Delimeter between the fields rdelim: '%' //Delimeter between the rules

Examples

<div visibly="field1:a,b;field2:1"></div>  

The above rule will make the relevant element visible is the value of field1 is either 'a' or 'b' and field2 has value of '1'

Help

Full documentation can be found at: http://www.danielrivers.com/visibly


You May Also Like