ehynds/jquery-ui-multiselect-widget — Issue #193: setting option works unproperly
Author: mail6543210
Created: 2011-12-08 15:01:10+00:00
State: open

I can't give a jsFiddle because the codes below work really strange on that.

I want to set the select to be multiple=false.

Basic HTML:

1

2

Basic js:
$("select").multiselect({multiple:false});//this works good
However,
$("select").multiselect().multiselect("option","multiple",false);//No effect, worked as multiple=true
$("select").multiselect().multiselect("option","multiple",false).multiselect("refresh");//see below
The third script works--partially.
It becomes single-select, but remains the "radio button", and the first script doesn't.

I think the third script should work as the first does, isn't it?