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
How will you load dynamic assembly?
Can the unique key be null?
Explain transparent caching with aop?
Explain the components of web form in asp.net
What is viewstate? In which event of the page life cycle, is the viewstate available?
What is the procedure to handle the process request using mhpm events fired? : asp.net mvc
What is the use of placeholder control? Can we see it at runtime?
Is global asax mandatory?
Explain security types in asp.net?
What is asp.net and ado net?
What is the function of the ViewState property?
What is the difference between union and structure?
What is the use of web.config file?
What is the question mark in a url?
Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)