are you suggested we change web2py_ajax.html? If so could you send me the change?
On Jul 5, 1:30 pm, annet <[email protected]> wrote: > Massimo, > > > Anyway, I do not think there was any backward incompatible change. > > You are right. I replaced lines of code between the working file and > the one that wasn't working, it turned out that this: > > jQuery('#clubbyplace').autocomplete('/init/handlers/clubbyplaceAC', > {maxItemsToShow:12}); > jQuery('#clubbyzipcode').autocomplete('/init/handlers/ > clubbyzipcodeAC',{maxItemsToShow:12}); > jQuery('#eventbyplace').autocomplete('/init/handlers/eventbyplaceAC', > {maxItemsToShow:12}); > jQuery('#glossary').autocomplete('/init/handlers/glossaryAC', > {maxItemsToShow:12}); > jQuery('#init').dataTable({ > 'bPaginate': true, > 'sPaginationType': 'full_numbers', > 'bLengthChange': false, > 'iDisplayLength': 12, > 'bFilter': false, > 'bSort': false, > 'bInfo': true, > 'bAutoWidth': true > }); > jQuery("input:text:not(.date):first:visble").focus(); > > ... does work, and this: > > jQuery("input:text:not(.date):first:visble").focus(); > jQuery('#clubbyplace').autocomplete('/init/handlers/clubbyplaceAC', > {maxItemsToShow:12}); > jQuery('#clubbyzipcode').autocomplete('/init/handlers/ > clubbyzipcodeAC',{maxItemsToShow:12}); > jQuery('#eventbyplace').autocomplete('/init/handlers/eventbyplaceAC', > {maxItemsToShow:12}); > jQuery('#glossary').autocomplete('/init/handlers/glossaryAC', > {maxItemsToShow:12}); > jQuery('#init').dataTable({ > 'bPaginate': true, > 'sPaginationType': 'full_numbers', > 'bLengthChange': false, > 'iDisplayLength': 12, > 'bFilter': false, > 'bSort': false, > 'bInfo': true, > 'bAutoWidth': true > }); > > ... doesn't work, so this: jQuery("input:text:not > (.date):first:visble").focus(); has to come after the other line of > code. I don't know why but now the auto complete functions work. The > dataTable feature enablement did not break. > > Kind regards, > > Annet. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

