I'm having problems with detecting Javascript. I've created a jQuery Popup window which is working only for users who has javascript enabled. However if their browser has JS disabled, I'd like to redirect them to index.php WHEN they click on the button.
So basically if someone has JS enabled he/she would get the popup window, and if they don't have, they would have been redirected.
Is it possible? Also if would this work on mobile devices aswell?