[webteam] filter with ajax?

Florian Holzhauer fh at fholzhauer.de
Fri Sep 28 02:52:53 CDT 2007


Hal Rottenberg schrieb:
> I'm not gonna belabor it, that's fine, but I'm curious because I don't
> know the answer:  Can it not be done such that it degrades gracefully?

Sure, but no need for Ajax here. Just add an onchange="sort()" here and
do it with plain Javascript AKA Dhtml.

Non-Javascript browsers will still be able to filter using the submit
click. (You might want to hide the Submit button if javascript is
enabled to not confuse the user, but thats a usuability question I am
not sure about).

Cheers,
Florian.


More information about the webteam mailing list