CC: | davidnicol [...] gmail.com |
Subject: | issue with javascript and persistent interpreter |
the fact that the javascript is only prepended to the table the first
time is confusing, since I'm using a persistent perl interpreter. So
I've put the javascript (including my fixed routine -- length is a
property of Array objects, not a property accessor function, so it's
while (bStack.length > 0) not while (bStack.length() > 0) and so on,
but I got that working, just like what was there at the beginning )
into its own file for testing purposes.
But anyway. Is there a way to say, give the table sortable class
without prepending, or, get the javascript library, without prepending
it to a table?
I guess for a run-once CGI how you've got it works perfectly.