[web2py] Re: jQuery UI tabs selected tab.

2011-10-22 Thread annet
Hi Richard, Thanks for your reply. I tried in web2py_ajax.html: script type=text/javascript $(function(){ // Tabs $('#tabs').tabs(); $(.selector).tabs({selected: 3}); }); /script (for convenience I used the constant 3) ... and in the view I tried: script type=text/javascript

[web2py] Re: jQuery UI tabs selected tab.

2011-10-21 Thread Cliff
Haven't tried Richard's way, but here is how I do it. You need landing areas for your data. Something like this: div id=tabsul lia href={{=URL('classtimes',args='tab_1')}}Monday/a/ li lia href={{=URL('classtimes',args='tab_2')}}Tuesday/ a/ li lia