Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

is gateway for sms continue connected for sending sms.how?

2308


Explain State management in asp.net

1135


What is the difference between the asp and asp.net?

1036


What is the difference between client-side and server-side validations in webpages?

1065


How many types of cache are there?

1042


In the Repeater control which way you can edit?

1142


List the types of authentication supported by asp.net?

993


can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it

1988


What methods are fired during the page load? Init()

1017


what is loosely coupled solution? How it can be used?

1064


Why is global asax is used for?

1132


How to make sure that contents of an updatepanel update only when a partial postback takes place (and not on a full postback)?

1029


What is the equivalent of date() and time() in asp.net?

1026


What is the difference between “Web.config” and “Machine.Config”?

1183


How do you use viewstate?

1055