CascadeDropdowns question

Oct 13, 2014 at 4:42 AM
Hi there,

First of all, great jquery library!

i just have a question regarding CascadeDropdowns. i have a set of them in the form, dropdown1 to select a category and dropdown2 to select a sub category based on the selection from dropdown 1. Now i also want to have a checkbox, upon tick that checkbox, i want to reset the dropdown1 and dropdown2. i tried the following but it doesn't work with the cascadedropdown. it works only with normal dropdown boxes.
$("select[title$='dropdown title']").val("");
does anyone know how to work this out?

really appreciate that!

G
Coordinator
Oct 15, 2014 at 2:09 PM
G:

The problem probably lies in the different types of "dropdowns" that SharePoint uses. There are "simple" dropdowns and "complex" dropdowns. Check out this post:
http://sympmarc.com/2011/05/09/new-spservices-function-spcomplextosimpledropdown/
Note the link to another post that explains more about the two dropdown types.

M.
Oct 16, 2014 at 9:19 AM
Thanks M. really useful article there. appreciate that.