JavaScript Support

By: Dusty Arlia
Published on February 19, 2013
Last Updated on Saturday, July 11, 2015 at 8:11 PM
Total Updates: 4

What JavaScript support means is that the internet user is able to run, view, and make use of JavaScript features. It is important to make your website accessible to all your visitors. If you are using JavaScript on your website, you need to make sure you have a backup plan for your visitors that do not have JavaScript support.

JavaScript is defined in the ECMA-262 specification, but each browser interprets this specification differently (just like in HTML and CSS). This is why you will notice differences between browsers. As browsers release new versions, this problem becomes less noticeable. In the past, Internet Explorer was not following these standards closely and was losing market share because of it. It became clear that it was beneficial for the browser vendors to implement the web standards as closely as possible.

Some browsers do not support JavaScript and some only support certain versions of JavaScript. You will find a lack of JavaScript support most frequently on mobile browsers. Websites need to have built-in methods for handling browsers with no JavaScript support.

The most popular solution is to build your site with CSS wherever possible. CSS will be able to accomplish interactive features like rollovers without the need of getting JavaScript involved. CSS is more cross-browser compatible than JavaScript. By using CSS first over an alternative JavaScript method, your site will be more accessible. If you need to use JavaScript, make use of the <noscript> HTML tag.

For the occasions that you need to have JavaScript enabled (like in advanced web applications), it is important to let your visitors know that the page they are looking at requires JavaScript to be enabled. This way when the user's webpage isn't being displayed correctly, they can know what they need to do to get it fixed.

Comments:

Ad: