p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 (http://p2p.wrox.com/forumdisplay.php?f=174)
-   -   change font color of label red (http://p2p.wrox.com/showthread.php?t=35089)

pritz November 14th, 2005 03:48 AM

change font color of label red
 
Hi all,

I need a urgent help on this

i have a form in which i am using javascript to validate the form .Suppose

if(form.first_name.value == ""){----checking here if text value is empty
     form.fname.colr='red';---trying to make text color of label red
     return false;
          }

Solve it!!!!!!!!!!plz




All times are GMT -4. The time now is 10:13 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.