Short answer:
JavaScript is not very important when you look at it from a practical perspective.
OK, why?
Simple really- about 10% of the people on the Internet have their JavaScript turned off - they’re afraid that it might pose some security risk.
Even though that fear is unjustified, the fact remains that you can’t depend on JavaScript working for a significant audience. That means you can’t use JavaScript for any critical work on a public website.
- -
I use JavaScript mainly for HTML form validations (ex: check if the email address entered, is probably an email address etc.)
But again, if you want to make sure that the form is being filled in properly, (because JavaScript can be defeated,) you will still have to use a server-side script (something like PHP or ASP etc,) to be sure…
When can you use JavaScript with confidence?
The best case scenario is when you have total control over which browser people use - this is rare indeed.
Don’t get me wrong, I’ve used JavaScript to create some interesting pieces of software.
For example:
I created an HTA (Hyper Text Application) where I used DOM scripting to create a PowerPoint slide picker application.
Using just JavaScript, I was able to create a rich user experience where people could search for and select ’slides’ from a database, and then with just a click of a button, the program produced a ready to go PowerPoint presentation (using Windows’ COM automation*) right on their desktop.
This program was run on a CD and was for internal use at a very large corporation - I had total control over the running environment, so I was able to really put JavaScript to the test.
The point:
Before any of you JavaScript nerds send me nasty emails …
I’m not just discounting JavaScript out of hand, or without having considerable experience. Rather, I know from experience that web designers would be much better off learning other things … say PHP.
*Microsoft provides a COM interface that even JavaScript can hook into.
Stefan Mischook

So True there.
Agreed on the part if JavaScript is defeated then a server side validation must be in place.
However, I do not see any web designer learning PHP. PHP is usually seen on Web Developers end. May be my scope is limited or the company in which I work is not agile.
HI,
I always think in terms of what is advantageous for people. Learning just a little PHP can give web designers an understanding of things and access to a powerful set of tools that can make their lives easier.
Web Designer or Web Developer is purely a matter fo spirit and personal taste.
I considermyslefa web developer because I focus on the web site working and the content is most important, designers tend to worrymore about how it looks.
But I know many who call themselves web designers who know and learn PHP, I learned it in a web designer course.