elem=document.getElementById('pru'); for(i=0;i<elem.options.length;i++) elem.options[i].selected=true; }