Forum : URGENT
Brief description  about Online courses   join in Online courses
View vishwanath  srinivas 's Profile

URGENT

Get the browser information and accordingly change the background color of browser.

I not getting solution for this. Please help
Asked by vishwanath srinivas | Jun 24, 2010 |  Reply now
Replies (1)
View teacher siliconindia 's Profile
Hi vishwanath,

just display all browser info through alert box using navigator object and simultaneously change the background color.

eg: use one event like onclick, inside write navigator.userAgent; document.bgColor='red';

onclick="navigator.userAgent; document.bgColor='red';"

Jul 14, 2010