•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 455,985 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,795 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 2286 | Replies: 5
![]() |
1. Assign an id or a class to the textarea.
2. For css, assign a color string ("#rrggbb") to background-color for the id or the class.
3. For JavaScript control, use a statement such as this:
where colox contains a color string.
2. For css, assign a color string ("#rrggbb") to background-color for the id or the class.
3. For JavaScript control, use a statement such as this:
document.forms.myid.style.backgroundColor = colox;
where colox contains a color string.
Daylight-saving time uses more gasoline
> If you know that then why you didn't give him the answer ?
Because there is none.
> try to give them a positive answer not to discourage ...
You should look for answers and not pleasing words.
Because there is none.
> try to give them a positive answer not to discourage ...
You should look for answers and not pleasing words.
I don't accept change. I don't deserve to live.
Happiness corrupts people.
Failing to value the lives of others cheapens your own.
Happiness corrupts people.
Failing to value the lives of others cheapens your own.
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- changing frame color (HTML and CSS)
- need help changing background color of an iframe (JavaScript / DHTML / AJAX)
- change the font/color of the selected text on a web page through javascript (JavaScript / DHTML / AJAX)
- Changing the colour of the arrows of a select menu in a form (HTML and CSS)
- Color change problem (Java)
- MFC art program (C++)
- changing color of a pushbutton on a dialog box (C)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Need help with Javascript
- Next Thread: Javascript problems onClick and calcuations



Linear Mode