Home >Backend Development >PHP Tutorial > !CI框架中怎么使用一个form两个提交按钮

!CI框架中怎么使用一个form两个提交按钮

WBOY
WBOYOriginal
2016-06-13 12:41:23837browse

求助!CI框架中如何使用一个form两个提交按钮?
求教,CI框架中如何使用一个form两个提交按钮呢?麻烦各位了!
代码如下:
<script><br /> $(document).ready(function() {<br /> $('#fileData').dataTable( {<br /> "aLengthMenu": [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]],<br /> "sPaginationType": "full_numbers", <br /> "aaSorting": [[ 0, "desc" ]],<br /> "iDisplayLength": <?php echo ROWS_PER_PAGE; ?>,<br /> "bJQueryUI": true,<br /> "sDom": '<"H"frlT><"clear">t<"clear"><"F"ip>',<br /> //<"H"T><"clear"><br /> //"sDom": '<"top"i>rt<"bottom"flp><"clear">',<br /> 'bProcessing' : true,<br /> 'bServerSide' : true,<br /> 'sAjaxSource' : '<?php echo base_url(); ?>index.php?module=order&view=getdatatableajax',<br /> <br /> 'fnServerData': function(sSource, aoData, fnCallback)<br /> {<br /> $.ajax<br /> ({<br /> 'dataType': 'json',<br /> 'type' : 'POST',<br /> 'url' : sSource,<br /> 'data' : aoData,<br /> 'success' : fnCallback<br /> });<br /> },<br /> "oTableTools": {<br /> "sSwfPath": "smlib/media/swf/copy_csv_xls_pdf.swf",<br /> "aButtons": [<br /> // "copy",<br /> "csv",<br /> "xls",<br /> {<br /> "sExtends": "pdf",<br /> "sPdfOrientation": "landscape",<br /> "sPdfMessage": ""<br /> },<br /> "print"<br /> ]<br /> },<br /> "oLanguage": {<br /> "sSearch": "Filter: "<br /> },<br /> "aoColumns": [<br /> { "sClass": "center", "bSortable": false}, <br /> null,<br /> null,<br /> null,<br /> null,<br /> null,<br /> null,<br /> null,<br /> { "bSortable": false }<br /> ],<br /> "aaSorting": [[1, 'asc']]<br /> } );<br /> <div class="clear"></script>

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn