I've been working on this for over an hour now and don't know whats wrong with it... code is below
var webkit = (browsername == (("Safari")||("Chrome")))? true : false;
It should return a true value for chrome and safari but not Internet Explore, Opera or Firefox I don't get why it returns true with safari but not chrome? any suggestions?
Even when I change it up a bit it still does this
if (browsername == (("Safari")||("Chrome")))
webkit = true;
Am I doing my or wrong?