Click here to Skip to main content
15,901,035 members
Home / Discussions / Web Development
   

Web Development

 
JokeRe: how to work with different browsers Pin
DavidNohejl6-Feb-07 4:17
DavidNohejl6-Feb-07 4:17 
AnswerRe: how to work with different browsers Pin
Pradipta Basu6-Feb-07 8:36
Pradipta Basu6-Feb-07 8:36 
QuestionBasic template :-) Pin
john344-Feb-07 21:45
john344-Feb-07 21:45 
AnswerRe: Basic template :-) Pin
Bradml4-Feb-07 22:13
Bradml4-Feb-07 22:13 
GeneralRe: Basic template :-) Pin
john344-Feb-07 23:08
john344-Feb-07 23:08 
GeneralRe: Basic template :-) Pin
Bradml4-Feb-07 23:10
Bradml4-Feb-07 23:10 
GeneralRe: Basic template :-) Pin
badgrs4-Feb-07 23:50
badgrs4-Feb-07 23:50 
GeneralRe: Basic template :-) Pin
Bradml4-Feb-07 23:54
Bradml4-Feb-07 23:54 
QuestionDoes anyone know why ...? Pin
Rojan Gh.3-Feb-07 10:52
professionalRojan Gh.3-Feb-07 10:52 
AnswerRe: Does anyone know why ...? Pin
Guffa3-Feb-07 12:06
Guffa3-Feb-07 12:06 
GeneralRe: Does anyone know why ...? Pin
Rojan Gh.18-Feb-07 0:08
professionalRojan Gh.18-Feb-07 0:08 
AnswerRe: Does anyone know why ...? Pin
Guffa18-Feb-07 2:23
Guffa18-Feb-07 2:23 
QuestionHow can i upload....? Pin
fmlove3-Feb-07 2:53
fmlove3-Feb-07 2:53 
AnswerRe: How can i upload....? Pin
Bradml3-Feb-07 3:02
Bradml3-Feb-07 3:02 
AnswerRe: How can i upload....? Pin
Guffa3-Feb-07 4:07
Guffa3-Feb-07 4:07 
QuestionJavaScript Key Press event (Allow only Numbers in Textbox) Pin
varshavmane3-Feb-07 1:08
varshavmane3-Feb-07 1:08 
AnswerRe: JavaScript Key Press event (Allow only Numbers in Textbox) Pin
Rojan Gh.3-Feb-07 11:09
professionalRojan Gh.3-Feb-07 11:09 
AnswerRe: JavaScript Key Press event (Allow only Numbers in Textbox) Pin
Bradml4-Feb-07 22:15
Bradml4-Feb-07 22:15 
GeneralRe: JavaScript Key Press event (Allow only Numbers in Textbox) Pin
varshavmane4-Feb-07 23:43
varshavmane4-Feb-07 23:43 
GeneralRe: JavaScript Key Press event (Allow only Numbers in Textbox) Pin
Bradml4-Feb-07 23:45
Bradml4-Feb-07 23:45 
QuestionJavaScript Key Press event (Allow only Numbers in Textbox) Pin
varshavmane2-Feb-07 23:37
varshavmane2-Feb-07 23:37 
Hi ALL,
I wnat to allow only number in the textbox throug javascript.I wrote the Java script code but it say error in the script.Some one can tell me what is the problem??

<HTML>
<HEAD>
<SCRIPT language=Javascript>
<!--
function isNumberKey(evt)
{
var charCode = (evt.which) ? evt.which : event.keyCode
if (charCode > 31 && (charCode < 48 || charCode > 57))
return false;

return true;
}
//-->
</SCRIPT>
</HEAD>
<BODY>
<INPUT id="txtChar" onkeypress="return isNumberKey(event)" type="text" name="txtChar">
</BODY>
</HTML>
Thanks in advance.

AnswerRe: JavaScript Key Press event (Allow only Numbers in Textbox) Pin
Bradml2-Feb-07 23:49
Bradml2-Feb-07 23:49 
GeneralRe: JavaScript Key Press event (Allow only Numbers in Textbox) Pin
varshavmane3-Feb-07 0:08
varshavmane3-Feb-07 0:08 
GeneralRe: JavaScript Key Press event (Allow only Numbers in Textbox) Pin
Bradml3-Feb-07 0:10
Bradml3-Feb-07 0:10 
GeneralRe: JavaScript Key Press event (Allow only Numbers in Textbox) Pin
varshavmane3-Feb-07 0:14
varshavmane3-Feb-07 0:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.