mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-08-26 22:21:53 +02:00
9 lines
241 B
JavaScript
9 lines
241 B
JavaScript
function selectSelectAll_click(e) {
|
|
const ctrl = $(e.target).next()
|
|
if (ctrl.prop('type') == 'select-multiple') {
|
|
ctrl.find("option").each(function () {
|
|
$(this).prop('selected', true);
|
|
ctrl.trigger("change")
|
|
});
|
|
}
|
|
} |