Uses of what? Client-side scripting? I use to think there weren't any
practical uses for it, until I really got into it.
For one, client-side includes allows someone to insert text/html from another site without having any SSI capabilities, like what PHP and Perl has. Nedstat counters use this, rotating banner scripts use it, and those PayPerClick search engines....just for starters.
Menu's are nice too. Simple ones, like dropdown combo boxes that switch pages without clicking a button.
For those who like popups/popunders, I'm sure they're thanking Sun for the language
When you need a link to display text that consists of 10 or 15 words, it's a pain to create a separate html/php page with those 10 or 15 words. Sure, you could make it a small-sized popup, but you still need to make a new HTML file, plus the popup code. Problem solved with the alert() function.
Basically, there are
practical ways to control the user's browser that PHP *cant* do, that might become necessary.