Easy Ajax enabled Dependent Dropdown Plugin With jQuery ssdCascadingDropDown - Download Easy Ajax-enabled Dependent Dropdown Plugin With jQuery - ssdCascadingDropDown

Download Easy Ajax-enabled Dependent Dropdown Plugin With jQuery – ssdCascadingDropDown

Posted on

This time I will share jQuery Plugin and tutorial about Easy Ajax-enabled Dependent Dropdown Plugin With jQuery – ssdCascadingDropDown, hope it will help you in programming stack.

Easy Ajax enabled Dependent Dropdown Plugin With jQuery ssdCascadingDropDown - Download Easy Ajax-enabled Dependent Dropdown Plugin With jQuery - ssdCascadingDropDown
File Size: 19.6 KB
Views Total: 9033
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

ssdCascadingDropDown is a jQuery plugin for creating dynamic cascading dropdowns which allow to show/hide select options depending on the changes of other select dropdowns. All the data are stored in the JSON files and will be retrieved via AJAX requests.

Basic usage:

1. Load jQuery library and the jQuery cascading dropdown plugin at the end of the document so the page loads faster.

2. Create a set of select lists that will be converted into cascading dropdowns. Accepted HTML5 data attributes:

  • data-group: indicates association of the select elements and helps distinguish between different groups where multiple blocks of cascading drop-downs are used
  • data-target: indicates the select element that should be affected by the value selected from its originator
  • data-url: url that needs to be called when the change event is triggered on the given select
  • data-replacement: corresponding container with data-replacement-container – used for replacing additional content with each selection
  • data-id:  the id of the element corresponds to the data-target of the previous element
  • data-default-label: the default label for the first option item

3. The JSON structure should be like this:

4. Initialize the plugin with default options.

5. All default plugin settings.

Change log:

v1.4.3 (2017-06-26)


This awesome jQuery plugin is developed by sebastiansulinski. For more Advanced Usages, please check the demo page or visit the official website.

source : jqueryscript.net