Click here to Skip to main content
15,921,905 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Accessing one Functions On Many Pages in vbscript Pin
Guffa1-Oct-05 1:22
Guffa1-Oct-05 1:22 
AnswerRe: Accessing one Functions On Many Pages in vbscript Pin
Guffa5-Oct-05 0:38
Guffa5-Oct-05 0:38 
QuestionexecCommand Issue ? Pin
zeemalik30-Sep-05 0:34
zeemalik30-Sep-05 0:34 
QuestionClassic ASP Virtual Directory Question Pin
LynchburgRecord29-Sep-05 13:42
LynchburgRecord29-Sep-05 13:42 
QuestionJava script open in a new window Pin
alex_sleiborg29-Sep-05 10:47
alex_sleiborg29-Sep-05 10:47 
AnswerRe: Java script open in a new window Pin
Guffa29-Sep-05 12:15
Guffa29-Sep-05 12:15 
AnswerRe: Java script open in a new window Pin
K Baruah30-Sep-05 1:03
K Baruah30-Sep-05 1:03 
QuestiononSubmit Validation Pin
s091a29-Sep-05 8:45
s091a29-Sep-05 8:45 
I am having problems with the submit validation. I am returning a false however the page is still being submitted when I click on the okay button in the alert box.

I copied the code below.

Any help will be greatly appreciated!!!

-Sonia





function fnValidate(thisform)
{
with (thisform)
{
if (fnValidateText(sText,"Text ")==false)
{
sText.focus();
return false
}
}

function fnValidateText(field,alerttxt)
{
with (field)
{
if (value==null||value=="")
{
// concentanate alert name with name
alerttxt = alerttxt + "must be filled out!";
alert(alerttxt);
return false
}
else
{
// check if it is alphanumeric
alerttxt = alerttxt + "must contain one alphabet!");
alert(alerttxt);
return false
}
}
}

}
AnswerRe: onSubmit Validation Pin
Gavin Jeffrey30-Sep-05 2:50
Gavin Jeffrey30-Sep-05 2:50 
Questionjavascript events Pin
izotov29-Sep-05 3:55
izotov29-Sep-05 3:55 
AnswerRe: javascript events Pin
minhpc_bk29-Sep-05 17:03
minhpc_bk29-Sep-05 17:03 
QuestionValidating controls in datagrid with javascript Pin
Chiari29-Sep-05 0:09
Chiari29-Sep-05 0:09 
AnswerRe: Validating controls in datagrid with javascript Pin
minhpc_bk29-Sep-05 17:07
minhpc_bk29-Sep-05 17:07 
GeneralRe: Validating controls in datagrid with javascript Pin
Chiari30-Sep-05 1:52
Chiari30-Sep-05 1:52 
GeneralRe: Validating controls in datagrid with javascript Pin
minhpc_bk30-Sep-05 15:43
minhpc_bk30-Sep-05 15:43 
GeneralRe: Validating controls in datagrid with javascript Pin
Chiari2-Oct-05 18:33
Chiari2-Oct-05 18:33 
GeneralRe: Validating controls in datagrid with javascript Pin
minhpc_bk2-Oct-05 20:07
minhpc_bk2-Oct-05 20:07 
GeneralRe: Validating controls in datagrid with javascript Pin
Chiari2-Oct-05 20:24
Chiari2-Oct-05 20:24 
GeneralRe: Validating controls in datagrid with javascript Pin
minhpc_bk2-Oct-05 21:03
minhpc_bk2-Oct-05 21:03 
GeneralRe: Validating controls in datagrid with javascript Pin
Chiari2-Oct-05 21:39
Chiari2-Oct-05 21:39 
QuestionWhat error is this?(Javascript) Pin
AlphonseElric28-Sep-05 21:01
AlphonseElric28-Sep-05 21:01 
AnswerRe: What error is this?(Javascript) Pin
Alsvha28-Sep-05 22:35
Alsvha28-Sep-05 22:35 
GeneralRe: What error is this?(Javascript) Pin
AlphonseElric28-Sep-05 22:52
AlphonseElric28-Sep-05 22:52 
AnswerRe: What error is this?(Javascript) Pin
Guffa28-Sep-05 23:02
Guffa28-Sep-05 23:02 
GeneralRe: What error is this?(Javascript) Pin
AlphonseElric28-Sep-05 23:16
AlphonseElric28-Sep-05 23:16 

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.