[thelist] sorting html tables in IE and NN

rudy r937 at interlog.com
Wed Apr 25 15:20:16 CDT 2001


>the problem with this technique is that the page is not being indexed by
>search engines. because there's no "Text" per se, just script! <Sigh>
>
>short of a database, is there a better way to implement this kind of
sorting
>without using arrays? we could do it with data binding and dhtml, but alas
>we must support NN 4.76.


hi fortune

the best way to sort records client side *is* with a javascript array

perhaps you should not be using document.write if that's the reason that
there's nothing on the page...

here's a page that doesn't use document.write, feel free to steal my code
if you can use it (it manually orders a dropdown list, so your mileage may
vary) --

  http://rudy.ca/sortdropdown.html

caution: this is about as complex as my javascript gets, and in fact, it
was quite some while since i wrote this, so please don't ask me to support
it   =o)


rudy





More information about the thelist mailing list