Atanu Paul
16 Digit
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
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
Digit Only text field
Digit Only text field  How should we accept digits only in a textbox? (using JSTL only, without Javascript
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
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 &
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
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
Kerala with South India Tour
- Kochi Tour Package Duration: 16 Nights / 17 Days Day 01: Arrival.... Day 16: Marari Beach Tour Enjoy your day and indulge in the beach activities
Java programming
by 16 gets the second digit and so on. Write a method that accepts an array...Java programming  To make a fraction to a representation base 16 (i.e. hexadecimal) we can multiply it by 16, and the resultant integer part
credit card validation
credit card validation   Double every second digit from right to left. If doubling of a digit results in a two-digit number, add up the two digits to get a single-digit number. 2 * 2 = 4 2 * 2 = 4 4 * 2 = 8 1 * 2 = 2 6 * 2 = 12
programing
programing  write a program to input a number find & print the middle digit if no of digit are odd other wise print the average of middle two digit
Java..
Java..  Which data type can be used to store 10 lakh digit in a variable in java??????And also value should be retrieved digit by digit
Java ....
Java ....  Which data type can be used to store 10 lakh digit in a variable in java??????And also value should be retrieved digit by digit
java recursion
java recursion  Count of most occurring digit Find the digit that occurs most in a given number
strftime ()
representation of the day like from Sunday through Saturday %d - Two-digit day... on the locale (an alias of %b) from Jan through Dec %m Two digit representation... --- --- %C Two digit representation of the century (year divided by 100, truncated
Credit Card Validation - Java Beginners
. yet i dont know how to select the last digit of a credit card number strings (16 digits)from the right and add up other numbers on the left with the formula...: If the digit has an odd position, counting from the right, add it to the sum as-is. Thus
PHP GD graphical counter
("DIGIT_WIDTH", 12); define("DIGIT_HEIGHT", 13); \$number... = (\$t_digits * DIGIT_WIDTH) + 3; \$height = DIGIT_HEIGHT + 3; \$img... = 0; \$i < \$t_digits; \$i++) { \$cur_digit = (int)\$number[\$i]; \$digit_offset
Tutorials