Hello,
i want to take input only number .
for Example : 2016-2017
Here total 8 digit but one hyphen (-) .
The hyphen should be between the two year.
Conditions:
I can not take other character as a input apart form number.
The hyphen will come automatically after enter the 4 first digits , then last four digit we can enter.
After that we can not take any other digit because already 8 digits over in the text box.
I used jQuery also but i did not get...
Can any one suggest plz..................


Joginder BangerRank #360 · 7K reputationPosted Feb 9, 2017, 3:22 AM EST
Anilananda ChakraborttyRank #3,903 · 381 reputationPosted Feb 16, 2017, 6:28 PM EST