Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- http://demo.example.com?offset=0&limit=10
- $('#example').dataTable( {
- "ajax": {
- "url": "data.json",
- "dataSrc": function ( json ) {
- for ( var i=0, ien=json.length ; i<ien ; i++ ) {
- json[i][0] = '<a href="/message/'+json[i][0]+'>Next Page</a>';
- }
- return json;
- }
- }
- } );
Add Comment
Please, Sign In to add comment