Open thirumalaicb opened 11 years ago
Hi,
I am using your multiselect control. I find an issue when I do the below steps. This issue is there in the demo page as well.
http://mind2soft.com/labs/jquery/multiselect/optionvalues.html
Steps to repro:
I have fixed it using the below code (line # 1084).
var element = this._elements[optElement.data('element-index')]; if (element != null || element !== undefined) this._elements[optElement.data('element-index')] .listElement(optElement.prop('disabled') ? "add" : "remove") + "Class";
In order to get the option deselected, I have used the below line of code (not sure of any method available within multiselect to deselect it).
$('#id option[value="0"]').removeAttr('selected'); $('#id).multiselect('refresh');
Hi,
I am using your multiselect control. I find an issue when I do the below steps. This issue is there in the demo page as well.
http://mind2soft.com/labs/jquery/multiselect/optionvalues.html
Steps to repro:
I have fixed it using the below code (line # 1084).
var element = this._elements[optElement.data('element-index')]; if (element != null || element !== undefined) this._elements[optElement.data('element-index')] .listElement(optElement.prop('disabled') ? "add" : "remove") + "Class";
In order to get the option deselected, I have used the below line of code (not sure of any method available within multiselect to deselect it).
$('#id option[value="0"]').removeAttr('selected'); $('#id).multiselect('refresh');