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 / gangadhar

function validate()
{
if(document.getElementById("NameId").value == null)
alert("Please enter the name");
document.getElementById("NameId").focus();
return false;
}

in button OnClick() we hav to cal this function

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How Session use Cookies in State Management?

1117


To get the values in two different controls to match which control you use it?

1088


Can you dynamically assign a Master Page?

1035


How many web.config files can I have in an application?

1025


Using code explain Configuration Management

2058


What are the page life cycle events?

961


Define page output caching?

1045


Define data caching?

968


Explain about consistent programming model in the .NET framework?

1180


Explain the difference between dataset and datareader.

1066


Is it possible to migrate visual interdev design-time controls to asp.net?

1093


explain code with datachaching with example

2205


What is meant by server side scripting?

1003


What does it mean your session has timed out?

1026


What is the purpose of using MVC programming pattern in ASP.NET?

1074