Write a code for "RequiredFieldValidator" in java script
Answer Posted / amit patel
function validate()
{
if(document.getElementById('<%=Name.ClientID%>').value
== "")
alert("Please enter the name");
document.getElementById("Name").focus();
return false;
}
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
In which situation can you not use a viewstate?
What is a user developed application?
What is the difference between the response.write() and response.output.write() methods?
How will you maintain versioning in asp.net 2.0?
What parameters can you pass in the url of the api?
how can we create wcf in asp.net and how can we cll that in to asp.net application?plsss tel me each step clearly
What are server activated objects?
What is cookieless session id explain in brief?
What is postback request?
How does the service stream content?
Explain the function of new view engine in asp.net? : asp.net mvc
Differentiate between globalization and localization.
Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc
What is authorization in asp.net?
Why do we use datasource in asp.net?