I&#39;d strongly recommend avoiding any JavaScript requirements, as it fundamentally breaks the HTML interface to your application.  Any such hack/workaround needs to be server-side, or you are setting yourself up for a world of hurt.<br>
<br><div class="gmail_quote">On Tue, Mar 31, 2009 at 8:11 PM,  <span dir="ltr">&lt;<a href="mailto:charles@bityard.net">charles@bityard.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
<br>
&gt; Either way, I recommend inserting the &#39;None&#39; and &#39;Other&#39; records<br>
&gt; immediately after the table is created so that you always know the primary<br>
&gt; key value of those two records.<br>
<br>
</div>I accidentally skipped over the part where you said you want None to<br>
always be first and Other to always be last. Probably the only solution<br>
there is to do some &quot;manual&quot; sorting in the code if it&#39;s an absolute<br>
requirement.<br>
<div><div></div><div class="h5"><br>
Charles<br>
--<br>
<a href="http://bityard.net" target="_blank">http://bityard.net</a><br>
<br>
_______________________________________________<br>
linux-user mailing list<br>
<a href="mailto:linux-user@egr.msu.edu">linux-user@egr.msu.edu</a><br>
<a href="http://mailman.egr.msu.edu/mailman/listinfo/linux-user" target="_blank">http://mailman.egr.msu.edu/mailman/listinfo/linux-user</a><br>
</div></div></blockquote></div><br>