Click here to Skip to main content
15,893,588 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Checking a Null ImageButton Control? Pin
DanB19833-Oct-07 9:04
DanB19833-Oct-07 9:04 
AnswerRe: Checking a Null ImageButton Control? Pin
hifiger20046-Oct-07 6:29
hifiger20046-Oct-07 6:29 
QuestionWeb Applications with Apple Safari Pin
Vasudevan Deepak Kumar28-Sep-07 3:37
Vasudevan Deepak Kumar28-Sep-07 3:37 
AnswerRe: Web Applications with Apple Safari Pin
Shog929-Sep-07 9:58
sitebuilderShog929-Sep-07 9:58 
GeneralRe: Web Applications with Apple Safari Pin
Vasudevan Deepak Kumar29-Sep-07 19:27
Vasudevan Deepak Kumar29-Sep-07 19:27 
QuestionMozilla plugin Pin
collapo28-Sep-07 1:22
collapo28-Sep-07 1:22 
QuestionSitemap , search engine problem. ?? Pin
devboycpp27-Sep-07 21:54
devboycpp27-Sep-07 21:54 
QuestionJavacript Not working Pin
codingrocks27-Sep-07 19:55
codingrocks27-Sep-07 19:55 
I am doing an application in which i want to validate a textfield using javascript..

The phone text field in application should acccept only numerics.. and i wrote a javascript for that..

I wanna include the space character(hope its ascii value is 32) also in the script ..please help me...

the code i did is ...as follows...
function checkIt(event) 
 {
    var charCode = (event.which) ? event.which : event.keyCode;
    if (charCode > 31 && (charCode < 48 || charCode > 57))
    {
        alert("Please make sure entries are numbers only.");
        return false;
    }
 
    return true;
 }


i call this function onkeypress event of the phone text field...

i want to include space key and enter key to the script function ...


Thanks in advance...

SAJAN A PILLAI

C#.NET Programmer
TELESOFT INDIA PVT LTD...
BANGALORE

"Winners don't do different things. They do things differently. ...

AnswerRe: Javacript Not working Pin
Christian Graus27-Sep-07 20:26
protectorChristian Graus27-Sep-07 20:26 
GeneralRe: Javacript Not working Pin
codingrocks27-Sep-07 20:44
codingrocks27-Sep-07 20:44 
GeneralRe: Javacript Not working Pin
Christian Graus27-Sep-07 21:37
protectorChristian Graus27-Sep-07 21:37 
GeneralRe: Javacript Not working Pin
codingrocks27-Sep-07 22:48
codingrocks27-Sep-07 22:48 
GeneralRe: Javacript Not working Pin
Christian Graus27-Sep-07 23:12
protectorChristian Graus27-Sep-07 23:12 
Questionupload image Pin
michael_jhons27-Sep-07 2:24
michael_jhons27-Sep-07 2:24 
AnswerRe: upload image Pin
Hesbon Ongira27-Sep-07 4:09
Hesbon Ongira27-Sep-07 4:09 
AnswerRe: upload image Pin
JimmyRopes27-Sep-07 20:02
professionalJimmyRopes27-Sep-07 20:02 
GeneralRe: upload image Pin
Kartik Rathi8-Oct-07 20:01
Kartik Rathi8-Oct-07 20:01 
QuestionHow to create Drag and Drop Lightbox Pane Pin
Hy Chanhan27-Sep-07 0:20
professionalHy Chanhan27-Sep-07 0:20 
Questioncall a function in a VB.NET DLL from Java script [modified] Pin
Vanamaindia26-Sep-07 20:05
Vanamaindia26-Sep-07 20:05 
AnswerRe: call a function in a VB.NET DLL from Java script Pin
Christian Graus27-Sep-07 20:28
protectorChristian Graus27-Sep-07 20:28 
Questionserver error Pin
IamAmit26-Sep-07 19:59
IamAmit26-Sep-07 19:59 
GeneralRe: server error Pin
Guffa26-Sep-07 20:10
Guffa26-Sep-07 20:10 
GeneralRe: server error Pin
IamAmit26-Sep-07 20:48
IamAmit26-Sep-07 20:48 
QuestionProgramming Pin
ilovepakistan26-Sep-07 17:42
ilovepakistan26-Sep-07 17:42 
AnswerRe: Programming Pin
Scott Dorman26-Sep-07 18:04
professionalScott Dorman26-Sep-07 18:04 

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.