mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-10-03 06:50:58 +02:00
8 lines
212 B
JavaScript
8 lines
212 B
JavaScript
|
function selectSelectAll_click(e) {
|
||
|
ctrl=$(e.target).next()
|
||
|
if (ctrl.prop('type') == 'select-multiple' ) {
|
||
|
ctrl.find("option").each(function() {
|
||
|
$(this).attr('selected', 'selected');
|
||
|
});
|
||
|
}
|
||
|
}
|