This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

JS Header

By: dassoubarna on Apr 23rd, 2013  |  syntax: HTML  |  size: 2.48 KB  |  views: 23  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. !-- DataTables CSS -->
  2. <link rel="stylesheet" type="text/css" href="http://tiwaricomputer.com/wp-content/themes/robins/media/DataTables/css/jquery.dataTables_themeroller_custom.css">
  3. <link rel="stylesheet" type="text/css" href="http://tiwaricomputer.com/wp-content/themes/robins/media/TableTools/css/TableTools_JUI.css">
  4.  
  5.  
  6. <!-- jQuery -->
  7. <script type="text/javascript" charset="utf8" src="http://tiwaricomputer.com/wp-content/themes/robins/media/TableTools/js/jquery.jss"></script>
  8.  
  9. <!-- DataTables -->
  10. <script type="text/javascript" charset="utf8" src="http://tiwaricomputer.com/wp-content/themes/robins/media/DataTables/js/jquery.dataTables.js"></script>
  11. <script type="text/javascript" charset="utf8" src="http://tiwaricomputer.com/wp-content/themes/robins/media/TableTools/js/TableTools.js"></script>
  12. <script type="text/javascript" charset="utf8" src="http://tiwaricomputer.com/wp-content/themes/robins/media/TableTools/js/ZeroClipboard.js"></script>
  13. <script type="text/javascript" charset="utf8" src="http://tiwaricomputer.com/wp-content/themes/robins/media/Editable/js/jquery.dataTables.editable.js"></script>
  14. <script type="text/javascript" charset="utf8" src="http://tiwaricomputer.com/wp-content/themes/robins/media/Editable/js/jquery.jeditable.js"></script>
  15. <script type="text/javascript" charset="utf8" src="http://tiwaricomputer.com/wp-content/themes/robins/media/Editable/js/jquery.validate.js"></script>
  16. <script type="text/javascript" charset="utf8" src="http://tiwaricomputer.com/wp-content/themes/robins/media/Editable/js/jquery-ui.js"></script>
  17.  
  18. <script type="text/javascript" charset="utf-8">
  19.                         $(document).ready( function () {
  20.                                 $('.tiwari-table').dataTable( {
  21.                                         "sDom": 'T<"clear">lfrtip',
  22.                                         "oTableTools": {
  23.                                         "sSwfPath": "http://tiwaricomputer.com/wp-content/themes/robins/media/TableTools/swf/copy_csv_xls_pdf.swf",
  24.                                        
  25.                         "aButtons": [
  26.                                
  27.                                 {
  28.                                         "sExtends": "print",
  29.                                         "sButtonText": "Print Table"
  30.                                 },
  31.                                 {
  32.                                         "sExtends": "copy",
  33.                                         "sButtonText": "Copy to clipboard"
  34.                                 },
  35.                                 {
  36.                                         "sExtends": "csv",
  37.                                         "sButtonText": "Save to CSV"
  38.                                 },
  39.                                 {
  40.                                         "sExtends": "xls",
  41.                                         "sButtonText": "Save for Excel"
  42.                                 },
  43.                                 {
  44.                                         "sExtends": "pdf",
  45.                                         "sButtonText": "Save for PDF"
  46.                                 }
  47.                         ]
  48.                 }
  49.                                 } ).makeEditable({
  50.                                                         sUpdateURL: "http://tiwaricomputer.com/wp-content/themes/robins/media/UpdateData.php",
  51.                                                         sDeleteURL: "http://tiwaricomputer.com/wp-content/themes/robins/media/DeleteData.php"
  52.                                                         });
  53.         } );
  54. </script>
clone this paste RAW Paste Data