Do you want to be able to count how many items are checked on a multiple
<SELECT>?
=======================
function countSelect(theSelect)
{ count = 0;
x = 0;
while(theSelect.options[x++])
{ if (theSelect.options[x].checked)
count ++;
}
return count;
}
=======================
Untested, hope to help.
Roger Mars escreveu:
> Hello please could anybody tellme how to check with multiple drop down
> and textbox selection - what exactly i wanted that i have one multiple
> selection drop down box and one textbox and i want to give my user to
> select total 15 selections either al 15 selected by listbox or 14 with
> listbox and 1 will be entered into textbox so please le tme know how i
> could validate total please.
> Thanks
> Roger !!
>
> ------------------------------------------------------------------------
> Low, Low, Low Rates! Check out Yahoo! Messenger's cheap PC-to-Phone
> call rates.
> <http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript
>
>
--
Flavio Gomes
flavio at economisa.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20061103/3946c82e/attachment.htm>