I'm not so conversant with that.
On Thu, Feb 21, 2019 at 2:10 AM Dave S <[email protected]> wrote: > > > On Wednesday, February 20, 2019 at 1:13:03 PM UTC-8, Maurice Waka wrote: >> >> Hi, >> I know I asked this before. I know people are very busy but could someone >> help here. >> From this web2py page: >> http://www.web2py.com/books/default/chapter/29/11/jquery-and-ajax?search=xml%28%29 >> I got this code but does not work with python 3.6. Any help out there???, >> pleaaaase >> > > Have you tried this with the nightly build? The other P3 fixes may have > helped here. > > >> def month_input(): >> return dict() >> >> def month_selector(): if not request.vars.month: return '' pattern = >> request.vars.month.capitalize() + '%' selected = [row.name for row in >> db(db.month.name.like(pattern)).select()] return ''.join([DIV(k, >> _onclick="jQuery('#month').val('%s')" % k, >> _onmouseover="this.style.backgroundColor='yellow'", >> _onmouseout="this.style.backgroundColor='white'" ).xml() for k in selected] >> >> ) >> >> > > /dps > > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/web2py/3huLbs5mmkY/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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/d/optout.

