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
How many types of cache are there?
Define reflection in .net?
What is a web farm?
code for "For every 5days system has to create 1text file with the corresponding date and it has to store in c-drive" by using web applications
Describe session handling in a webfarm?
How to disable disable browser's Back button in asp.net (JavaScript)?
Describe paging in asp.net?
What is a web pool?
What is a query string in a url?
How does a web application session work?
Define session in asp.net.
Explain difference between dataset and recordset?
How does session authentication work?
What is Partial PostBack in ASP.NET?
Give an example of cookie abuse.