This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $("#form").validate({ | |
| rules: { | |
| code: {minlength:3,maxlength:6,remote:'validate.php'} | |
| }, | |
| messages: { | |
| code: { | |
| remote: 'This code is already in use.' | |
| } | |
| } | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Tabs | |
| $(function(){ | |
| $("#tabs0").tabs({ | |
| show: function(ui, event) { | |
| ttInstances = TableTools.fnGetMasters(); | |
| for (i in ttInstances) { | |
| if (ttInstances[i].that.fnResizeRequired()) ttInstances[i].that.fnResizeButtons(); | |
| } | |
| } | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Polar Clock</title> | |
| <link rel="stylesheet" href="demo.css" media="screen"> | |
| <script type="text/javascript" src="jquery-1.5.2.js"></script> | |
| <script src="raphael.js"></script> | |
| <script> | |
| window.onload = function () { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use Doctrine\ORM\Query\Lexer; | |
| use Doctrine\ORM\Query\AST\Functions\FunctionNode; | |
| class DqlConvert extends FunctionNode { | |
| public $field; | |
| public $convertMode; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $("#tabs").tabs({ | |
| show: function(ui, event) { | |
| ttInstances = TableTools.fnGetMasters(); | |
| for (i in ttInstances) { | |
| if (ttInstances[i].that.fnResizeRequired()) ttInstances[i].that.fnResizeButtons(); | |
| } | |
| } | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function formatTableToolsButton(node, icon) { | |
| $(node).removeClass('DTTT_button'); | |
| $(node).button({icons: {primary: icon}}); | |
| $('.DTTT_container').buttonset(); | |
| /* Add this part if you're using a DataTable inside an hidden JUI tab. */ | |
| $( ".ui-tabs" ).bind( "tabsshow", function(event, ui) { | |
| $('.DTTT_container').buttonset(); | |
| }); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $('#tableID').dataTable({ | |
| "bProcessing": true, | |
| "bJQueryUI": true, | |
| "sPaginationType": "full_numbers", | |
| "sAjaxSource": 'ajax/datatables.php', | |
| "oLanguage": { "sUrl": "../res/js/dataTables.fr.txt" }, | |
| "sDom": '<"H"Tfr>t<"F"ip>', | |
| "oTableTools": { | |
| "sSwfPath": "../res/swf/copy_cvs_xls_pdf.swf", | |
| "aButtons": [ |