Opportunity html
Jump to navigation
Jump to search
| Line 666: | Line 666: | ||
onOptionClick: function(el,option) { | onOptionClick: function(el,option) { | ||
| − | } | + | |
| + | |||
| + | console.log(option.val()); | ||
| + | console.log(option.attr('id')); | ||
| + | $('#select_countries > option').each(function() { | ||
| + | if(this.value == option.val() && this.attr('id') != option.attr('id')) { | ||
| + | this.removeAttr('selected'); | ||
| + | } | ||
| + | }); | ||
| + | $('#select_countries').multiselect('reload'); | ||
| + | }, | ||
onSelectAll: function(el, selected ){ | onSelectAll: function(el, selected ){ | ||
Revision as of 14:42, 8 March 2020