This is in both SPFilterDropdown and SPCascadeDropdowns. The behavior between a simple and complex dropdown if different for picking the selected option.
For a simple dropdown it uses $(this).attr("ows_ID") to decide the selected option.
```
var selected = ($(this).attr("ows_ID") === columnSelectSelected[0]) ? " selected='selected'" : "";
```
For a complex (and Multi) it uses the variable "thisOptionId" to decide the selected option.
```
if(thisOptionId === columnSelectSelected[0]) {
.Obj.attr("value", thisOptionValue);
}
```
In the case where thisOptionId != $(this).attr("ows_ID") you get different behavior. For my purposes it would be great if the simple case also used "thisOptionId".
thanks
Ben
For a simple dropdown it uses $(this).attr("ows_ID") to decide the selected option.
```
var selected = ($(this).attr("ows_ID") === columnSelectSelected[0]) ? " selected='selected'" : "";
```
For a complex (and Multi) it uses the variable "thisOptionId" to decide the selected option.
```
if(thisOptionId === columnSelectSelected[0]) {
.Obj.attr("value", thisOptionValue);
}
```
In the case where thisOptionId != $(this).attr("ows_ID") you get different behavior. For my purposes it would be great if the simple case also used "thisOptionId".
thanks
Ben