Check whether Javascript is enabled

后端 未结 9 2095
礼貌的吻别
礼貌的吻别 2020-12-29 13:47

Is there a way to check whether Javascript is enabled or supported by the browser? If it\'s not supported, I would like to redirect the user to a user-friendly error page. <

9条回答
  •  囚心锁ツ
    2020-12-29 14:06

    
    

    This will redirect to an error page if script is disabled. Just replace error.html with the URL of your error page.

提交回复
热议问题