No właśnie, szukam i nie mogę znaleźć, jak sprawdzić ile elementów zaznaczono w polu select multiple?

Dobra, nieaktualne. Znalazłem to:
Cytat
For Select objects that can have multiple selections (that is, the SELECT tag has the MULTIPLE attribute), the selectedIndex property is not very useful. In this case, it returns the index of the first selection. To find all the selected options, you have to loop and test each option individually.

I gdyby komuś kiedyś było przydatne, moje rozwiązanie. Ciekawe również ze względu na użytą nietypową nazwę selecta (kategorie_dok[])
Kod
for(i = 0; i < f.elements['kategorie_dok[]'].length; i++) {
     if(f.elements['kategorie_dok[]'][i].selected == true) zaznaczonych++;
}