Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > fONT cOLOR...

Reply
Thread Tools

fONT cOLOR...

 
 
Nelson
Guest
Posts: n/a
 
      11-09-2004
What is the syntax in Java Script to change the color of font in a text box?
Thanks,
Nelson


 
Reply With Quote
 
 
 
 
Ian Suttle
Guest
Posts: n/a
 
      11-09-2004
Nelson,

You will want to manipulate the text color using JavaScript's CSS
manipulation. You can either change the class file associated with the
control or you can change the font color directly. Try this out for
example:

whateverControl.style.color='#DDDDDD';
Regards,
Ian Suttle
http://www.iansuttle.com

 
Reply With Quote
 
 
 
 
Nelson
Guest
Posts: n/a
 
      11-09-2004
Thanks for the answer.
It is working fine now.
Nelson

"Ian Suttle" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...
> Nelson,
>
> You will want to manipulate the text color using JavaScript's CSS
> manipulation. You can either change the class file associated with the
> control or you can change the font color directly. Try this out for
> example:
>
> whateverControl.style.color='#DDDDDD';
> Regards,
> Ian Suttle
> http://www.iansuttle.com
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Swing Font, it's Java Font? ot native? how install new font? mttc Java 2 07-03-2009 07:29 PM
How to get the text in html tag.like<div...><font...>Text</font></ =?Utf-8?B?Tmlja3k=?= ASP .Net 2 02-20-2005 03:03 PM
Font class, external font files question Karl Hungus ASP .Net 1 02-04-2004 04:26 PM
JavaRE 1.4.2 font alias in /lib/font.properties (Linux) Nick Spinel Java 0 07-25-2003 08:28 AM
physical font specified but true type font file not available Michael Glavitsch Java 1 07-15-2003 07:09 PM



Advertisments