LOL...  Good point. :)

John McKown, VP Business Services
Delaware.Net, Inc.
30 Old Rudnick Lane, Suite 200 Dover, DE 19901
email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
phone: 302-736-5515
fax: 302-736-5945
icq: 1495432



> -----Original Message-----
> From: Rich Wild [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 27, 2000 9:38 AM
> To: CF-Talk
> Subject: RE: Capitalize First Letter of Each Word
> 
> 
> > Ok, I think we have a winner.
> > James Lawrence from Freeserve ([EMAIL PROTECTED]) submitted a little
> > JavaScript that does the job well on the client side.  This was the
> 
> Its only a winner if Javascript is turned on. :)
> 
> -------------------------------------------------------
> Rich Wild
> Senior Web Designer
> 
> -------------------------------------------------------
> e-mango.com ltd                      Tel: 01202 587 400
> Lansdowne Place                      Fax: 01202 587 401
> 17 Holdenhurst Road
> Bournemouth                   Mailto:[EMAIL PROTECTED]
> BH8 8EW, UK                      http://www.e-mango.com
> -------------------------------------------------------
> This message may contain information which is legally
> privileged and/or confidential.  If you are not the
> intended recipient, you are hereby notified that any
> unauthorised disclosure, copying, distribution or use
> of this information is strictly prohibited. Such
> notification notwithstanding, any comments, opinions,
> information or conclusions expressed in this message
> are those of the originator, not of e-mango.com ltd,
> unless otherwise explicitly and independently indicated
> by an authorised representative of e-mango.com ltd.
> -------------------------------------------------------
> 
> 
> 
> 
> > -----Original Message-----
> > From: John McKown [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, October 27, 2000 2:41 PM
> > To: CF-Talk
> > Subject: RE: Capitalize First Letter of Each Word
> > 
> > 
> > Ok, I think we have a winner.
> > James Lawrence from Freeserve ([EMAIL PROTECTED]) submitted a little
> > JavaScript that does the job well on the client side.  This was the
> > smallest, cleanest, fastest method that anyone submitted.  I added the
> > second line to make sure that all other letters after the 
> > first were lower
> > case.
> > 
> > Enjoy:
> > 
> > <SCRIPT LANGUAGE="JAVASCRIPT">
> > <!--
> > function capitalizeMe(obj) {
> >     val = obj.value.toLowerCase();
> >     newVal = '';
> >     val = val.split(' ');
> >     for(var c=0; c < val.length; c++) {
> >             newVal += val[c].substring(0,1).toUpperCase() +
> > val[c].substring(1,val[c].length) + ' ';
> >     }
> >     obj.value = newVal;
> > }
> > -->
> > </SCRIPT>
> > 
> > <FORM NAME="TEST">
> > <INPUT TYPE="TEXT" NAME="TESTER" onChange="capitalizeMe(this)">
> > </FORM>
> > 
> > 
> > John McKown, VP Business Services
> > Delaware.Net, Inc.
> > 30 Old Rudnick Lane, Suite 200 Dover, DE 19901
> > email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> > phone: 302-736-5515
> > fax: 302-736-5945
> > icq: 1495432
> > 
> > --------------------------------------------------------------
> > ----------------------------------
> > Archives: http://www.mail-archive.com/[email protected]/
> > Unsubscribe: 
> > http://www.houseoffusion.com/index.cfm?sidebar=lists or send 
> > a message with 'unsubscribe' in the body to 
> > [EMAIL PROTECTED]
> > 
> ------------------------------------------------------------------
> ------------------------------
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists 
> or send a message with 'unsubscribe' in the body to 
> [EMAIL PROTECTED]
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to