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
Is asp.net a programming language or framework?
What is different in .net 1.1 and .net 2.0?
What is autopostback true?
When we use cookie less session? Explain its working?
What are custom user controls in asp.net?
Explain what is postback in asp. Net?
Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc
What is the page life cycle in asp.net?
How can I open ashx file in mobile?
What's the use of formatters in .net?
What is mta?
Where is session data stored in asp net?
Which is better union or union all?
Where is asp.net session stored?
Explain the differences between clr & cts?