How to check whether the Browser supports Javascript or not through Javascript?

 Posted by vishalneeraj-24503 on 10/8/2014 | Category: JavaScript Interview questions | Views: 2047 | Points: 40
Answer:

Actually we can not check using Javascript if the browser is configured to use Javascript because obviously it can not run.
So instead we can use a <noscript> tag.<noscript> tag will always appear when Javascript is not supported
and therefore we can put information within this tag to warn the user to enable Javascript on their browser.
For Example:-
<noscript>

......
</noscript>


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response