Click here to Skip to main content
15,936,482 members

Comments by Nikhil Paulson (Top 4 by date)

Nikhil Paulson 24-Jul-14 1:26am View    
Its an Windows 7 OSK keyboard.
Nikhil Paulson 5-Oct-12 3:00am View    
Can you provide an example ?
Nikhil Paulson 3-Oct-12 3:18am View    
function isNumberKey(evt, value) {
var charCode = (evt.which) ? evt.which : event.keyCode
if (obj.value >= 100)
return false;
if (charCode == 46) return true;
if (charCode > 31 && (charCode < 48 || charCode > 57 ))
return false;
if (charCode == 8)
return false;
return true;

<asp:TextBox ID="txtDicountPercentage" runat ="server" ClientIDMode="Static"
onkeypress="return isNumberKey(event,this);" MaxLength="5">

this is the code that i am using
Nikhil Paulson 3-Oct-12 2:57am View    
i want to perform a percentage validation,so i want to check whether the entered value is greater than 100 or not