+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

5 of 6 people (83%) answered Yes
Recently 5 of 6 people (83%) answered Yes


How do i validate whether there is a data entered in text field or not....?

Jun 9th, 2009 15:10
forum net tr, osama said, i can do it, Saravpreet Minhas, Lakshmi Alluri,

write the following code in head tag
function check()
if (document.frm1.text1.value=="")
alert("text field is empty")
return false;
write the following code in body tag
<form name="frm1" onsubmit="return check()">
<input type=text name="text1">
<input type=submit>
online video tr tube http://www.videotrtube.com
firmalar sirketler rehberi http://www.sirketfirmarehberi.com firma
sirket rehberi adres telefon bilgileri
full forum http://www.forumnettr.com/forum 
secilmis youtube videolari http://www.youtubevideolari.net youtube videos
full program full oyun http://www.forumnettr.com