Write a code for "RequiredFieldValidator" in java script
Answer Posted / sudhakar sakthivel
function validate()
{
if(document.getElementById("NameId").value == null ||
document.getElementById("NameId").value.trim()=="")
alert("Please enter the name");
document.getElementById("NameId").focus();
return false;
}
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
In the Repeater control which way you can edit?
What is advantage of asp.net?
Elaborate differentiation between Cache and Application?
Explain the purpose of storyboard.targetproperty.
Why would a company use an application service provider?
Define repository pattern in mvc.net? : asp.net mvc
How u refer webservices?
Types of instancing properties and explain each. Tell the difference between multiuse,singleuse and globalmultiuse and which is default ?
How is a session stored and maintained in asp.net?
Is session server side or client side?
How will create assesblies at run time?
Is viewstate secure?
What is viewstategenerator?
Explain the difference between sql invalidation and sql notification.
can we remote debug applications with the remote debugger installed with vs.net 2002, with vs.net 2003?