I have written a small code that will call an alert box if it detects Internet Explorer. Trouble is, it don't work
Here is my code... Can someone please point me in the right direction?
if (browserName=="Microsoft Internet Explorer")
var answer = confirm("Browser Incompatible - Firefox Needed")
alert("You won't be disappointed!'")
window.location = "http://www.mozilla-europe.org/en/products/firefox/";
alert("Some elements of this Website will not be displayed correctly.");
The #1 place to get unlimited free mp3 downloads, streaming music/radio and lyrics for PC, tablet and smartphone. No signup necessary. For all your music needs, there's SongRepo!