w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
jquery code to get values on dropdown menu based on another dropdown selection

You could bind a change event to the #ops select, and when it changes filter the data to load it to the second select.

Added jsfiddle with the solution. http://jsfiddle.net/x3Jgj/1/

I did it using the jquery each method to filter the data, but I recommend you use a tool like underscore.js.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.