<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Do you want to be able to count how many items are checked on a
multiple <SELECT>?<br>
<br>
=======================<br>
function countSelect(theSelect)<br>
{ count = 0;<br>
x = 0;<br>
while(theSelect.options[x++])<br>
{ if (theSelect.options[x].checked) <br>
count ++;<br>
}<br>
return count;<br>
}<br>
=======================<br>
<br>
Untested, hope to help.<br>
<br>
Roger Mars escreveu:
<blockquote
cite="mid20061101213011.13974.qmail@web62410.mail.re1.yahoo.com"
type="cite">
<div>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.</div>
<div>Thanks</div>
<div>Roger !!</div>
<p> </p>
<hr size="1">Low, Low, Low Rates! Check out Yahoo! Messenger's cheap <a
href="http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com">
PC-to-Phone call rates.</a>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Javascript mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Javascript@LaTech.edu">Javascript@LaTech.edu</a>
<a class="moz-txt-link-freetext" href="https://lists.LaTech.edu/mailman/listinfo/javascript">https://lists.LaTech.edu/mailman/listinfo/javascript</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Flavio Gomes
<a class="moz-txt-link-abbreviated" href="mailto:flavio@economisa.com.br">flavio@economisa.com.br</a></pre>
</body>
</html>