Hi, This is my link on the index page: {{extend 'layout.html'}} <div id="ajax_target"> ......... <a href="#" onclick="ajax('{{=URL('default', 'categories', args=(category.id))}}', ['ajax_content'], 'ajax_target')">{{=category.f_category_name}}</a> .......... </div>
where ajax_content is a div I want to display from the categories page, on the index page. Categories page: {{extend 'layout.html'}} <div id="ajax_content"> ...... </div> It works as expected, except that it brings the whole categories page (including the header and footer ), which is not expected. what should I do? Thanks. -- 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/groups/opt_out.