RequiredFieldValidator--write code in javascript
Answer Posted / srinivasan
function validate()
{
var Name = document.getElementById("txtName");
if( Name.value=="")
{
alert("Please enter the Name");
return false;
}
}
button OnClick() we hav to cal this function
Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What are the contents of cookie?
what is meant by sitemapnode ?
What are the disadvantages of view state?
What is asp.net localization?
What is the use of session in web application?
Out of ASP or ASP.NET which one is stateless?
1.What r collections? 2.What is .pdb file? 3.Is it possible to provide access to users in master page? 4.What is dirty n Phantom Read(SQL)? 5.What r different isolation levels(SQL)? 6.How to set authentication mode in web.config file?
What are query strings used for?
What is page fragment caching?
Explain the significance of routing? : asp.net mvc
Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc
How do active server pages work?
How would ASP and ASP.NET applications run at the same time on the same server?
Diff between web user control and web custom control?
In order to bind the data from a data source to the Repeater control what property is set and what method must you call in your code,?