insert(0, "Select 4 functions") doesn't work? Richard
On Thu, Aug 15, 2013 at 1:56 PM, Annet <[email protected]> wrote: > Since IS_IN_DB ignores zero='' I tried this: > > form.element('select[name=navID]').append("Select 4 functions") > > However, the options are sorted by id and "Select 4 functions" ends > up as the last option. Is there a way to move it to the top of the list > of options? > > > Kind regards, > > Annet > > -- > > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

