Write a code for "RequiredFieldValidator" in java script
Answer Posted / jayamala
function validate()
{
if(document.getElementById("NameId").value =="")
alert("Please enter the name");
document.getElementById("NameId").focus();
return false;
}
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
what cut off mark for po's,what questions they asked for interview?
3. What goals do you have in your career?
What are the session variables?
What is content page in asp net?
What is the procedure to create the environment for asp.net? : asp.net mvc
What are the parts of an http response?
What are httphandlers and httpmodules and difference between them?
What is Partial PostBack in ASP.NET?
Define tracing.
Is it possible for me to change my aspx file extension to some other name?
Will the asp.net validators run in server side or client side? How do you do client-side validation in .net?
What are the best practices to follow to secure connection strings in an ASP.NET web application?
How can we create custom controls in asp net?
How can we create pie chart in asp.net?
What are the Types of session management in ASP.NET