URL Problem between Browsers
Hi ppl,
I have the following code:
var folder_depth = './';
var browserName = navigator.appName;
if (browserName == 'Microsoft Internet Explorer') {folder_depth = '../../';}
var url = folder_depth + 'admin/useraccess/userslist.php';
window.location = url;
I had to do a browser check because else the on IE9 the page would try to redirect to
whilst on other browsers like Chrome it would redirect to
Any idea on how I can avoid this check?
Thanks
Ivan