![]() |
|
|
+ Search |
![]()
|
Apr 8th, 2008 18:37
ha mo, Dave Clark, sabareeswaren A,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sab,
The following is an example of how you would change the
foreground (text) color of a text box in a form:
var ele = document.forms['formName'].elements['fieldName'];
ele.style.color = 'blue';
Take care,
Dave Clark
www.DaveClarkConsulting.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com