serversid true, ajax call error
serversid true, ajax call error
jQuery('#example').dataTable( {
"processing": true,
"serverSide": true,
"ajax": "<?php echo get_bloginfo('siteurl');?>/ssm/tickets-search-server.php"
} );
i do this call, url is correct and works if i call direct in this way localhost/worpress/ssm/tickets-search-server.php
but not works with ajax, not go in my tickets-search-server.php and give me this error:
DataTables warning:table id="example" - Ajax Error. for more information see datatables.net/tn/7
some one can helpe me? pls
Answers
Did you follow the directions at datatables.net/tn/7?
http://datatables.net/manual/tech-notes/7
i do "Use JSONP or some other cross domain access technology such as a proxy script on your server."
so i do like this example
http://datatables.net/examples/server_side/jsonp
but still not work
sure is a problem of redirect ....because i tried the same code on separate project and its works