Thanks Niphlod using the on() function:
<script>
jQuery(document).ready(function()
{
jQuery('tr.w2p_even.even.with_id,tr.w2p_odd.odd.with_id ').on(
"dblclick",function() {
var sid = jQuery(this).prop('id');
ajax( "{{=URL('default', 'on_card_selected.html' ) }}",[],
'target');
}
);
}
);
</script>
solve my first pb.
For the other point, I still get None to my ajax call in this script, maybe
ajax is not the solution to reload my first component, any way to follow ?
--
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.