Re: [web2py] call web2py in view from a jQuery script

2011-08-04 Thread Anthony
On Thursday, August 4, 2011 5:36:13 PM UTC-4, Richard wrote: > > Hello, > > I try to do this : > > $(document).ready(function() { > $('table.sortable').dataTable( { > "sDom": '<"H"Tfr>t<"F"ip>', > "oTableTools": { > "sSwfPath": "{{=URL('static','plugin_added/DataTables-1.8.1/extras/ > TableT

Re: [web2py] call web2py in view from a jQuery script

2011-08-04 Thread Richard Vézina
I get it like this : var sSwfPath_location = "{{=URL('static','plugin_added/DataTables-1.8.1/extras/TableTools/media/swf/copy_cvs_xls_pdf.swf')}}" And replace : "sSwfPath": "{{=URL('static','plugin_added/DataTables-1.8.1/extras/ TableTools/media/swf/copy_cvs_xls_pdf.swf')}}" With "sSwfPath":