Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I want to check in Browser javascript working or not in every 30sec.. can you help...
Posted
Comments
Sergey Alexandrovich Kryukov 11-Apr-13 3:17am    
It's time to organize the competition: worst idea of the month. :-)
Could you at least share with us why would you want to do such amazing thing?
—SA

1 solution

Hello,

You can use meta refresh tag to make your page refresh every 30 sec. coupled with noscript tag. The idea is to always output following block in your page and if javascript is disabled it will redirect user to a particular page. In this page you can then persists this information in session for later use.
HTML
<noscript><meta http-equiv="refresh" content="30; url=noscript.aspx"></noscript>

Regards,
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900