YOu can call that function onKeyPress of each text box...
or else if you want javascript function to convert it..
toUpperCase is available in Javascript also....
Thanx
Yogaraj

-----Original Message-----
From: Murali Mohan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 2:20 AM
To: [EMAIL PROTECTED]
Subject: Re: how to convert lowercase letters to higher case while
entering


Hai Cockpit ,
thanks to your reply and advice. Actually I am doing a JSP project.
Still I have doubt. Where can I call the function? Means how to call it?
User
should not see lower case letters.
thanks,
Murali

"It, Cockpit (CAP, Contractor)" wrote:

> Hi Murali Mohan,
> Use this java script function which takes care of converting lower case
into
> upper.
> // Function which Converts the lowercase letters entered by user to upper
> case letters
>    function toUpper()
>    {
>         if ((window.event.keyCode>=97) && (window.event.keyCode<=122))
>         {
>          window.event.keyCode=window.event.keyCode - 32;        // Convert
> to upcase
>          //return true;
>         }
>    }    // End of function toUpper()
>
> And please don't post question related to Javascript and any other client
> side scripts here.
> There are lot of sites out there which will provide you these kind of
stuff.
> Sorry if I am wrong...and thanx for accepting my point.
>
> Regards
> Yogaraj
>
> -----Original Message-----
> From: Murali Mohan [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 18, 2001 1:30 AM
> To: [EMAIL PROTECTED]
> Subject: how to convert lowercase letters to higher case while entering
>
> Hai ,
>
> Does any one know how to convert lowercase letters to higher case while
> entering only it shouldn't happen after submitting button or with
> toUpperCase(0 method in Java.
> Like in Oracle can we have any option to see only uppercase letters in
> text field?
>
> thanks in advance,
> Murali
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com
>
> "THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
> ADDRESSEE and may contain confidential and privileged information.
> If the reader of this message is not the intended recipient,
> you are notified that any dissemination, distribution or copy of this
> communication is strictly Prohibited.
> If you have received this message by error, please notify us
> immediately, return the original mail to the sender and delete the
> message from your system."
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com


"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
ADDRESSEE and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify us
immediately, return the original mail to the sender and delete the
message from your system."

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to