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
is gateway for sms continue connected for sending sms.how?
Explain State management in asp.net
What is the difference between the asp and asp.net?
What is the difference between client-side and server-side validations in webpages?
How many types of cache are there?
In the Repeater control which way you can edit?
List the types of authentication supported by asp.net?
can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it
What methods are fired during the page load? Init()
what is loosely coupled solution? How it can be used?
Why is global asax is used for?
How to make sure that contents of an updatepanel update only when a partial postback takes place (and not on a full postback)?
What is the equivalent of date() and time() in asp.net?
What is the difference between “Web.config” and “Machine.Config”?
How do you use viewstate?