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> | |
/* Modificacion del original en postingcode.com | |
* Agregado el control de variable cedulaValida y controlando ced.length a menor de 11 | |
* para los casos de cédulas sin guiones | |
* | |
* La cedula utilizada ES una cedula valida y asignada al ciudadano gerente de este script | |
* Modificación por Victor Abreu | www.vicabreu.com | |
* Nombre del archivo: ValidaCedulaDominicana.html | |
*/ | |
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
package com.vicabreu.test; | |
import java.lang.reflect.Field; | |
import java.text.ParseException; | |
import java.text.SimpleDateFormat; | |
import java.util.Calendar; | |
import java.util.Date; | |
import java.util.GregorianCalendar; | |
public class MainClass { |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> | |
<title>Ejemplo de autocompletado con columnas y cabecera</title> | |
<script src="https://code.jquery.com/jquery-1.11.2.min.js"></script> | |
<script src="https://code.jquery.com/ui/1.11.2/jquery-ui.min.js"></script> | |
<script src="http://http://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script> | |
<script type="text/javascript"> | |
var productos = [ |
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 `ucwords`(input VARCHAR(255)) RETURNS varchar(255) CHARSET utf8 COLLATE utf8_spanish_ci | |
DETERMINISTIC | |
BEGIN | |
DECLARE len INT; | |
DECLARE i INT; | |
SET len = CHAR_LENGTH(input); | |
SET input = LOWER(input); | |
SET i = 0; | |
WHILE (i < len) DO | |
IF (MID(input,i,1) = ' ' OR i = 0) THEN |