Skip to content

Commit 0c95f66

Browse files
committed
Fix #508
- updated inputID to include multiselectID in order to be unique across all select with the same name
1 parent 2489720 commit 0c95f66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jquery.multiselect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
var description = this.innerHTML;
140140
var title = this.title;
141141
var value = this.value;
142-
var inputID = 'ui-multiselect-' + (this.id || id + '-option-' + i);
142+
var inputID = 'ui-multiselect-' + multiselectID + '-' + (this.id || id + '-option-' + i);
143143
var isDisabled = this.disabled;
144144
var isSelected = this.selected;
145145
var labelClasses = [ 'ui-corner-all' ];

0 commit comments

Comments
 (0)