How to make a web page change background color when certain text displayed?
-
Howdy. I am trying to help out my newly designed web page and I need to know this: If is certain string of text appears, is there a command to make the background color of the ...show more
-
Answer:
You need to use javascript for that. In a textbox, use the onkeydown() function and when the text in the textbox matches whatever you want it to match, change the color of the background by using document.body.style.backgroundColor = 'color-goes-here';
3XPTIX7PI43DZAKA4RNTJUYBQE at Yahoo! Answers Visit the source
Related Q & A:
- How To Make A Web Site?Best solution by Yahoo! Answers
- How to make a web crawler?Best solution by Stack Overflow
- How to change background color in Android application?Best solution by Stack Overflow
- In the simplest clearest language possible, can any one tell me step by step how to get a web page or domain?Best solution by Yahoo! Answers
- How to make a fan page on Facebook?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.