Write a code for "RequiredFieldValidator" in java script
Answer Posted / manoj
suppose the id of the field required to be validated is
NameId
Thus:-
function validate()
{
if(document.getElementById("NameId").value == null)
alert("Please enter the name");
}
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
What are the features that make asp.net more used framework? : asp.net mvc
What is difference between viewstate and session state in javascript?
What is a viewstate?
What is full form of asp.net?
How can we implement a identity (sql server) call in an asp.net page?
Explain Features in ASP.NET
Is razor a programming language?
What do you mean by authentication?
Explain the benefits of viewstate?
What is asp short for?
How to display Alert in ASP.NET
how to debug web services on consumer side?
How do we implement bundling in MVC?
What is Dynamic Web and discuss its usage with the help of real life examples?
What is the use of autowireup in asp.net?