On Sat, 27 Nov 2010, Arne Vajh?j wrote:
On 27-11-2010 11:02, Roedy Green wrote:
I detest javascript since so often web pages don't work in some
browsers because of JavaScript problems. It is like building your
house on sand.
Good dynamic sites provide a fallback to static HTML, so that even with
javascript switched off, they work. For example, if you use javascript
to submit a form when an option is picked from a select, then you leave
a submit button in there too, for the javascriptless to click. With a
touch of the right JS and CSS, you can then hide that submit button for
people who do have javascript if you like. Similarly, an AJAXy
add-to-cart button on a shopping site can have a normal form-submitting
action too, with javascript inhibiting it if it's able to handle the
operation via AJAX.