Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Project U-232 (http://www.bvlist.com/forumdisplay.php?f=80)
-   -   Change BG color by JS (http://www.bvlist.com/showthread.php?t=11166)

Extremlym 15th July 2017 12:11

Change BG color by JS
 
Change BG color by JS .. can any of you have an idea how?

http://img.pixady.com/2017/07/226509_11111_460x76.jpg

Chez 15th July 2017 16:36

Pretty simple. Try this:

PHP Code:

<button onclick="document.bgColor='red' ">RED</button

That's it!
You can use color codes too.


All times are GMT +2. The time now is 14:27.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.