Good day!

I am having problem regarding browser issues! I need to accomplish this task:
Browser requirements should be( IE7,IE8,Firefox 3, Firefox 4, Safari 5, Opera, Chrome) and higher.

1. I want to detect if user's browser is below the requirements compatibility above then I want them to redirect to error page, let say compatibility.html if browser is below requirements!..If the browser meets the requirments, it should continue to load the page requested by the user.


Thank you for helping!

Checking browser it's not a good solution cause you'd be leaving some unknow browser behind.

It's best just to check if what you need is supported by the browser.

Checkout this post: http://www.quirksmode.org/js/support.html

If you still wants to check out the browser, you can use either JQuery or Browser Detect

Hope it helps.
Seeya.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.