Forum Moderators: open
Lots of talk about Javascript -- pro and con.
Lets say one has a combinantion information/ecommerce site.
Lets say one wants it to be useable, SEO'd and fast loading.
What are the most beneficial, if any, uses of Javascript on
such a site? Some folks here don't use any Javascript; some
folks here do use Javascript.
What's your thoughts?
Thanks,
Louis
Simple form pre-processing and validation is also useful. It can't actually replace a server-side script, but it's probably a nice user-friendly touch to catch certain errors before the form is submitted. This also reduces load on the server.
Basically, though, I think you should arrange to make sure your site is functional without JavaScript; so nothing critical to navigation should be JS.