Checking length of textbox value with Javascript


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Checking length of textbox value with Javascript

Hybrid View

  1. #1
    KAJ Guest

    Checking length of textbox value with Javascript


    How do u check the length of a textbox value using Javascript
    thanks
    KAJ



  2. #2
    YangYu Guest

    Re: Checking length of textbox value with Javascript


    "KAJ" <koshy@truckracers.com> wrote:
    >
    >How do u check the length of a textbox value using Javascript
    >thanks
    >KAJ
    >
    >

    <Script language="JavaScript">
    function CheckLength(txtField)
    {
    return txtField.Length;
    }
    </script>


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center