Click here to Skip to main content
15,879,535 members
Home / Discussions / Web Development
   

Web Development

 
Questioncontext.Response.Write is not working on mozilla,safari ... Pin
nmathur2322-Jan-09 22:13
nmathur2322-Jan-09 22:13 
AnswerRe: context.Response.Write is not working on mozilla,safari ... Pin
Aman Bhullar22-Jan-09 23:28
Aman Bhullar22-Jan-09 23:28 
GeneralRe: context.Response.Write is not working on mozilla,safari ... Pin
nmathur2323-Jan-09 0:06
nmathur2323-Jan-09 0:06 
QuestionCatching ok button when pressed Pin
samerh22-Jan-09 19:26
samerh22-Jan-09 19:26 
AnswerRe: Catching ok button when pressed Pin
VenkatFor.NET22-Jan-09 20:50
VenkatFor.NET22-Jan-09 20:50 
GeneralRe: Catching ok button when pressed Pin
samerh22-Jan-09 20:58
samerh22-Jan-09 20:58 
AnswerRe: Catching ok button when pressed Pin
vaghelabhavesh26-Jan-09 16:49
vaghelabhavesh26-Jan-09 16:49 
AnswerRe: Catching ok button when pressed Pin
Ranjit Viswakumar29-Jan-09 14:35
Ranjit Viswakumar29-Jan-09 14:35 
You will want to apply your Javascript onSubmit of the form-

<form name="demo" onsubmit="return validateFormOnSubmit(this)" action="action.htm">

And you function would have to return true or false-

function validateFormOnSubmit(fld) {
  var reason = "";
  if (fld==true) {
    reason += "There is an error.";
  }
  if (reason != "") {
    alert(reason);
    return false;
  }
  return true;
}


This will go through validation and pass false with an alert, or pass true and POST the information to action.htm. Good luck!

Ranjit Viswakumar
Professional Services Specialist
rviswakumar@hostmysite.com
HostMySite.com[^]
Questionversion history is not working for Custom List Form ( WSS3.0) Pin
Raheem MA22-Jan-09 17:57
Raheem MA22-Jan-09 17:57 
QuestionDirectory Structure Pin
Civic0622-Jan-09 7:59
Civic0622-Jan-09 7:59 
AnswerRe: Directory Structure Pin
SeMartens23-Jan-09 1:18
SeMartens23-Jan-09 1:18 
QuestionAdd webpart to login.aspx page sharepoint Pin
deewaker pandey22-Jan-09 3:20
deewaker pandey22-Jan-09 3:20 
AnswerRe: Add webpart to login.aspx page sharepoint Pin
VenkatFor.NET22-Jan-09 21:10
VenkatFor.NET22-Jan-09 21:10 
Question2007 SharePoint - Need Help with Hiding Fields in a list Pin
Robb Base22-Jan-09 2:36
Robb Base22-Jan-09 2:36 
QuestionMouseOver on TD Pin
navkrishkannan22-Jan-09 1:14
navkrishkannan22-Jan-09 1:14 
AnswerRe: MouseOver on TD Pin
Ranjit Viswakumar29-Jan-09 14:44
Ranjit Viswakumar29-Jan-09 14:44 
QuestionWeb Service using COM object Pin
Griffin200221-Jan-09 9:31
Griffin200221-Jan-09 9:31 
Questionintegrate SnapCasa (thumbnail grabber) into a Guest book or scmething Pin
Task121-Jan-09 9:18
Task121-Jan-09 9:18 
QuestionProblem with Special Characters Pin
Christian Elena21-Jan-09 2:19
Christian Elena21-Jan-09 2:19 
AnswerRe: Problem with Special Characters Pin
SeMartens21-Jan-09 2:30
SeMartens21-Jan-09 2:30 
GeneralRe: Problem with Special Characters Pin
Christian Elena21-Jan-09 2:35
Christian Elena21-Jan-09 2:35 
QuestionThird Party Tool? Pin
Paramhans Dubey21-Jan-09 1:51
professionalParamhans Dubey21-Jan-09 1:51 
AnswerRe: Third Party Tool? Pin
Not Active21-Jan-09 2:13
mentorNot Active21-Jan-09 2:13 
QuestionADODB.Recordset error '800a0cc1' Pin
Member 340808220-Jan-09 22:30
Member 340808220-Jan-09 22:30 
AnswerRe: ADODB.Recordset error '800a0cc1' Pin
Aman Bhullar20-Jan-09 23:29
Aman Bhullar20-Jan-09 23:29 

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.