Just use the html tag to limit it:

<input .... size="5" maxsize="10" ....>

gives you visible size of 5 and entry box size of 10.

> -----Original Message-----
> From: Suresh kumar K Badiga [SMTP:[EMAIL PROTECTED]]
> Sent: 16 August 2000 07:17
> To:   [EMAIL PROTECTED]
> Subject:      How to limit charecters
>
> Hi all
>
> I am using JSP Pages in that some textfields i want to limit the
> characters
> this how to do
>
> should i use for this JavaScript. if possible give me some example.
>
> Thanks in advance.
>
> -Suresh
>
> ==========================================================================
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to