Write a code for "RequiredFieldValidator" in java script
Answer Posted / jayamala
function validate()
{
if(document.getElementById("NameId").value =="")
alert("Please enter the name");
document.getElementById("NameId").focus();
return false;
}
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
How can we prevent browser from caching an aspx page?
Which of the following .NET framework supports Web API?
Define asp.net caching?
Which control has default post back is enabled(true)?
Why is it preferred to not use finalize for clean up?
What is preprocessor in .net and type, where it use?
What does session_start () do?
How do I open an ashx file in windows 7?
How many types of validators are there in asp net?
What is asp.net caching?
What is DataGrid wheater its a Server Control or something else ?
Define repository pattern in mvc.net? : asp.net mvc
Can we set which type of comparison we want to perform by the CompareValidator control?
What are the advantages of using session?
is there any third party tools are using in .net technologies? what are there ? give me the brief introduction?