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
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] ) -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.