This file contains 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
jQuery.ajaxSetup({ | |
beforeSend: function() { | |
$('#loader').show(); | |
}, | |
complete: function(){ | |
$('#loader').hide(); | |
}, | |
success: function() {} | |
}); |
This file contains 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 | |
/** | |
* base include file for SimpleTest | |
* @package SimpleTest | |
* @subpackage UnitTester | |
* @version $Id: dumper.php 1909 2009-07-29 15:58:11Z dgheath $ | |
*/ | |
/** | |
* Parses the command line arguments. |
This file contains 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
a.export, a.export:visited { | |
text-decoration: none; | |
color:#000; | |
background-color:#ddd; | |
border: 1px solid #ccc; | |
padding:8px; | |
} |
This file contains 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
<script type='text/javascript' src='script.js'></script> | |
<a id="test" href="">Test.xls</a> |
This file contains 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 ajax_request(url, data, name) { | |
$.ajax({ | |
url: site_url + url, | |
type: 'POST', | |
data: {id: data}, | |
}) | |
.done(function(response) { | |
$('.modal-body').empty(); | |
$('.modal-title').empty(); | |
This file contains 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 get_actual_date () { | |
var today = new Date(); | |
var dd = today.getDate(); | |
var mm = today.getMonth() + 1; | |
var yyyy = today.getFullYear(); | |
if(dd < 10) | |
dd = '0' + dd | |
if(mm < 10) |
This file contains 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
$('#process').on('click', function(){ | |
var checkboxs_checked = []; | |
$("input:checkbox:checked").each(function() { | |
checkboxs_checked.push($(this).val()); | |
}); | |
console.log(checkboxs_checked); | |
if(checkboxs_checked.length == 0) | |
alert('Seleccione al menos una hora extra para procesar!'); |
NewerOlder