Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

To check for javascript

 
Ashok Kumar
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do you check if javascript is enabled or disabled in a browser?Also i need the specifics for IE,FireFox and Mac browsers.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65227
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the HTML/Javascript forum.
 
Ashok Kumar
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found a workaround for this problem.I thought others might benefit from it.So i am posting the code here.

The workaround here is we set a cookie and try to get it which is possible only if javascript is enabled.



replace Kookie with cookie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic