tell me details dear.
tell me details dear.
thanks foe this post here.
Listing 1: Client-side JavaScript for form validation
<!--
Function CheckForm(form)
{
for(var intCtr = 0; intCtr <= (form.elements.length - 5); ++intCtr)
{
var temp = form.elements[intCtr];
if(temp.type == "text" && temp.value == "")
{
alert("Please Enter All Information!");
temp.focus();
return false;
}
}
return true;
}
//-->
</script>
Tutorial About Validation:
http://msdn.microsoft.com/en-us/libr...ontrols_topic2
SocialCubix is the iOS App Developers
Tnx for the scripts)
You have just saved me much time.
Awesome!
A Validation server control is used to validate the data of an input control. If the data does not pass validation, it will display an error message to the user.
Asia Affordable Web Hosting Provider
|
Bookmarks