I hope there is a good way to do this.<br><br>I have a very nice function in my CGI app that makes a nicely formatted table out of a few arguments, the title, an sql query, etc.<br>If I want to make it sortable using dojo&#39;s javascript library, this requires me to place some javascript (that specifically references the table) in the header of the html, but typically, I&#39;ve already printed the header by the time I want to generate the table.
<br><br>How is this done correctly?<br><br>-ASC<br clear="all"><br>-- <br>&quot;Yes, could I please have half an order of magnitude and a side of PI?&quot;<br>