codice:
function accendi(f) {
  s = f.elements["myListboxTwo[]"];
  for (var i=0;i<s.options.length;i++) {
    s.options[i].selected = true;
  }
  return true;
}

... ... ...

<form onsubit="accendi(this)">
ciao