-4

I have a full js/jquery based WebSite!

Today i become an E-mail, "i have js disabled..." How can i check at start, if js is disabled, so locate from index.html to some.php?

for google robot too!

Thx in ahead!

Akdes
  • 39
  • 1
  • 8

1 Answers1

1

Well, php has no way of checking if Javascript is disabled or not. But what you could is starting the page on a index.php and putting in a js script that redirects you to the 'real' website. so if javascript is disabled you wont be redirected and you stay on the php page and otherwise you go to the js website

Joris Janssen
  • 64
  • 1
  • 10