Wrox Programmer Forums
|
BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0
This is the forum to discuss the Wrox book Professional JavaScript for Web Developers by Nicholas C. Zakas; ISBN: 9780764579080
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 14th, 2005, 03:48 AM
Authorized User
 
Join Date: Mar 2005
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to pritz Send a message via Yahoo to pritz
Default 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







Similar Threads
Thread Thread Starter Forum Replies Last Post
Change ASP.NET label color using Javascript shalan99 ASP.NET 2.0 Professional 4 May 22nd, 2007 02:09 AM
how to get font ,color,font size of text in win32 satishsatao Visual C++ 0 April 5th, 2006 05:05 AM
from color="red" to color='red' juaniux XSLT 2 November 16th, 2004 04:18 PM
Font Color OzzyUltra Linux 1 October 22nd, 2004 10:01 AM
font color, what different possibilites are phpsharma HTML Code Clinic 2 November 12th, 2003 06:44 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.