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...

Write a code for "RequiredFieldValidator" in java script

Answer Posted / amit patel

function validate()
{
if(document.getElementById('<%=Name.ClientID%>').value
== "")
alert("Please enter the name");
document.getElementById("Name").focus();
return false;
}

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is global.asax file used for?

959


What is the difference between mvc and asp.net? : Asp.Net MVC

953


What is difference cookie and session?

924


What is an example of an application service provider?

815


Can we have multiple web config files for an asp.net application?

928


How do cookies work?

935


What is session id in web application?

1022


What is the use of asp.net web api?

1026


Give an example of what might be best suited to place in the application_start and session_start subroutines?

917


What is the difference between runtime version and version?

975


How you can access the values from the Repeater control in ASP.NET?

1014


What are validator? Name the validation controls in asp.net? How do you disable them?

973


What is ispostback property?

861


Explain the asp.net mvc folder conventions? : asp.net mvc

951


Is asp.net mvc front end or backend? : Asp.Net MVC

877