[Javascript] Re: Javascript Digest, Vol 45, Issue 2

Roger Mars onephpguy at yahoo.com
Sat Nov 4 08:15:50 CST 2006


yes this could help but what exactly my question was that i have one listbox and and also have one textbox and in the listbox all my listings and user can select maximum 15 selection either he selects all 15 with listbox or he will select 14 with listbox and 1 he will enter into textbox and this way i want to allow him can select only 15 either with listbox all 15 selections or 14 selections with listbox and 1 he want to enterinto textbox so that toal 15 will be entry into databse and alos let me know that please on what even i shoudl chekc right now i am checking it onBlur already that is working ok but i want to check both fields either he first enter 1 entry into textbox then go to select the selectons with listbox then it should say him that you are allowed only to selct 15 selections or first he select 15 and then also enter 1 into textbox then as soon he leaves the etxfield then it shoudl check and alert him. i hope this will make sense to all my Great master and
 gurus :).
  Thanks
  please help me into this matter urgent !!
  Have a very good day !!

javascript-request at LaTech.edu wrote:
  Send Javascript mailing list submissions to
javascript at LaTech.edu

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.LaTech.edu/mailman/listinfo/javascript
or, via email, send a message with subject or body 'help' to
javascript-request at LaTech.edu

You can reach the person managing the list at
javascript-owner at LaTech.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Javascript digest..."


Today's Topics:

1. Re: Re: Hello question answer please !! (Fl?vio Gomes)


----------------------------------------------------------------------

Message: 1
Date: Fri, 03 Nov 2006 12:53:27 -0300
From: Fl?vio Gomes 
Subject: Re: [Javascript] Re: Hello question answer please !!
To: "[JavaScript List]" 
Message-ID: <454B65F7.6030305 at economisa.com.br>
Content-Type: text/plain; charset="us-ascii"

Do you want to be able to count how many items are checked on a multiple 
? =======================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. >  >>>------------------------------------------------------------------------>>_______________________________________________>Javascript mailing
 list>Javascript at LaTech.edu>https://lists.LaTech.edu/mailman/listinfo/javascript> >-- Flavio Gomesflavio at economisa.com.br-------------- next part --------------An HTML attachment was scrubbed...URL: https://lists.LaTech.edu/pipermail/javascript/attachments/20061103/3946c82e/attachment-0001.html------------------------------_______________________________________________Javascript mailing listJavascript at LaTech.eduhttps://lists.LaTech.edu/mailman/listinfo/javascriptEnd of Javascript Digest, Vol 45, Issue 2*****************************************
 
---------------------------------
We have the perfect Group for you. Check out the handy changes to Yahoo! Groups.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20061104/a668026e/attachment.htm>


More information about the Javascript mailing list