# 16 Digit

Atanu Paul
16 Digit
1 Answer(s)      6 years and 6 months ago
Posted in : JavaScript Questions

In a text box I can Only type A-Z & 1-10 upto 16 Digit.

April 23, 2011 at 12:10 PM

```<html>
<script>
function checkString(text) {
if(/[^A-Za-z\d ]/.test(text)){
alert('String should contain letters and numbers only!');
document.getElementById("st").value="";
return false;
}
if(text.length>16){
alert('You cannot exceeds the limit of 16 digits!');
document.getElementById("st").value="";
return false;
}
return true;
}
</script>
Enter Name:&nbsp&nbsp&nbsp<input type="text" id="st" onkeyup="checkString(this.value);">
</html>
```

16 Digit
16 Digit  In a text box I can Only type A-Z & 1-10 upto 16 Digit...!'); document.getElementById("st").value=""; return false; } if(text.length>16){ alert('You cannot exceeds the limit of 16 digits!'); document.getElementById("st
Exercise 16
Exercise 16  Number Format Large numbers are typically written with a comma in between every group of three digits (e.g., 12,345,678,765,432 or -32,768). Write a Java program that accepts as input an integer and outputs
calculate sum of individual digit
calculate sum of individual digit  Hi How to calculate product of first snd last digit of indiviual digit Like Num=23456 S=2*6
Digit Only text field
Digit Only text field  How should we accept digits only in a textbox? (using JSTL only, without Javascript
calculate sum of individual digit
calculate sum of individual digit   How calculate product of first and last digit of indiviual numbers Like a=43278 4*8=32
Version of com.jtfmumm>digit-parser_2.10 dependency
List of Version of com.jtfmumm>digit-parser_2.10 dependency
Check Digit Question not able to solve..
Check Digit Question not able to solve..   Hi, I need some help asap... digit. (096931) the result is then multiplied to {0, 1, 3, 1, 2, 7} Answer... digit table. If its 'A' then the alphabets are removed with balanced with 7 digits
Check for character is digit or not.
Description: This tutorial demonstrate the use of Character.isDigit() method which checks whether the value stored in char data-type variable is digit or not. Code: public class CheckDigit
Check for character is letter or digit.
Description .style1 { background-color: #FFFFCC; } Description: This tutorial demonstrate how to check a character variable value is a digit or letter using isLetterOrDigit() method. Code
Encode 5 digit zip code - Java Beginners
Encode 5 digit zip code  I have an assignment to read in a 5 digit zip code, sum the digits, and come up with the check digit. I then need to convert this to encode into a five digit bar code plus the check digit. In our book
Maven Dependency digit-parser_2.10 >> 0.1.0
Maven Dependency digit-parser_2.10 >> 0.1.1
Check whether the sum of alternate digit of a number is palindrome or not.
Check whether the sum of alternate digit of a number is palindrome... are going to check whether the sum of the alternate digit of a number entered... of the alternate digits of number (like if a number is 23456, the sum of alternate digit
population problem plz help me befor 16 March 2011 !!
population problem plz help me befor 16 March 2011 !!  the Q is : How can i count how many years it will take for the population of a town to go over 30.000 .. consider that it Increases 10% every year ?? And this is my code &
Steps to download JDK 1.6 Video tutorial shows you the steps to download the JDK 1.6. The Java Development Kit 1.6 is old version of Java and if you are developing new application use the new version of Java. If you are working
DateValidator in Flex4
DateValidator in Flex4: The DateValidator class validates the string and date format. You can enter the single or two digit for month and day. By default... range is a four digit number. The tag of DateValidator is <mx
Read a string and reverse it and then print in alphabetical order.
of characters) or a binary digit string (a sequence of binary values). In the example
Java Around the globe
Java Around the globe              Sun patches dangerous Java vulnerabilities Sun released Java SE 6 Update 2 on 16 July 2007
August 2007 Issue of Java Jazz up magazine
August 2007 Issue of Java Jazz up magazine           Java News Sun released Java SE 6 Update 2 on 16 July 2007 in the US, which the company said is no longer
Java Find Next Date Example
the Eclipse IDE and JDK 1.6. Example : Here I am giving a simple example which
JAVA JAZZ UP - Free online Java magazine
JAVA JAZZ UP - Free online Java magazine       Our this issue contains:  Java Jazz Up Issue 2 Index Java Around the Globe   Sun released Java SE 6 Update 2 on 16
What is KBPS?
in such a way that it can assess the only two digit. 0 and 1. All computer architecture
We are providing Downloadable Version of Mandrake 10.1 Community Edition Linux CD's.
Mandrake 10.1 Community Edition Linux Now Available Mandrake 10.1 Community Edition CD's Mandrake 10.1 Community, released in Sept. 16, 2004 is an incremental upgrade to Mandrake 10. The new features make it a worthy upgrade for home