A: 

Definitely. According to W3Schools 5% of users don't have JavaScript enabled. So, the solution would be using JavaScript and also keeping that 5% in mind and providing additional information to them such as asking them to enable the feature or providing service using another approach.

Hamid Nazari
5% sounds small. To put it in another context - that's 1 out of every 20 visitors to your site.
Joel Coehoorn
No, it doesn't *necessarily* mean that 1 in 20 visitors to *his* website will have Javascript disabled. For example, an application designed for a corporate intranet is a totally different thing than a public shopping site.
Pointy
Yeah I guess Google has the most accurate stats.
Hamid Nazari
+2  A: 

Is SEO important to your site because Crawlers can't access any content that requires Javascript. So if you want your site to perform well in google, etc. searches then make sure it works without javascript. Otherwise, just consider your target audience and make a decision that way.

Also search for "unobtrusive javascript" on google, lots of hints / tips on how to do this.

Paul Hadfield
+3  A: 

To target the maximum amount of users you really want your site to have some functionality available when JavaScript is disabled. Now if this is some corporate intranet application then it is a different story because your IT department will be able to make sure their PCs are configured correctly.

ChaosPandion
+5  A: 

To cope with that, it is worth reading:

Sarfraz
+1  A: 

I think it needs to be considered. At a minimum there should be a message on the page stating that Javascript is required for a particular element to function.

metal-gear-solid