host_list.js 380 B

123456789101112131415
  1. function selectallhosts() {
  2. $('.vnodessel').attr('checked', true);
  3. }
  4. function deselectallhosts() {
  5. $('.vnodessel').attr('checked', false);
  6. }
  7. function setpreset(form, select) {
  8. presetvalue = select.options[select.selectedindex].value;
  9. parts = presetvalue.split('/');
  10. form.elements['variable'].value = parts[0];
  11. form.elements['subkey'].value = parts[1];
  12. }