HTMLTagRelate.js is a jquery plugin that makes handling relationships between HTML elements very easy!
Want to see how this works? Try the plugin here.
- Hide/Show/Disable another form element based on input of another.
- Change attributes of another HTML element based on input of another form element. e.g. change background color, border, with, height etc.
- This works between form elements and other html elements.
- Can also use functions to relate how elements should change.
Want to see how this works? Try the plugin here.
1. Deactivate input based based on text