ooops, sorry niphlod, I've only read on w3schools.com site about the on() function. And furthermore I test the code above without changing the ajax parameter of the 2nd LOAD to True... aargh, not serious.
But now, it finally works this way : {{extend 'layout.html'}} {{ =LOAD('default','army_header.load', ajax=True , ajax_trap=False , user_signature=True, target='army_header') }} {{ =LOAD('default','cards_list.load', ajax=True ,ajax_trap=False, user_signature=True, target='cards_list', vars={'mode':'edit'}) }} <script> jQuery('#cards_list').on("dblclick","tr", function() { var sid = jQuery(this).prop('id'); ajax('on_card_selected?card_id='+sid,[] ,'target') ; ajax( "{{=URL('default', 'update_army.load' ) }}",[],'army_header'); }); </script>.. I really need to improve myself with jquery, I'm not in line with it. -- 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.