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
//escucha el cambio de provincia y guarda dicho valor en una variable. Luego la envia con metodo post a otro | |
//script php que trabaja la informacion y la devuelve generando las opciones de otro listbox | |
$(document).ready(function(){ | |
$("#provincia").change(function () { | |
$("#provincia option:selected").each(function () { | |
elegido=$(this).val(); | |
$.post("comprobar_registro.php", { elegido: elegido }, function(data){ | |
$("#localidad").html(data); | |
}); |
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
$().ready(function () { | |
$("a.borrar").live('click', function (e) { | |
e.preventDefault(); | |
tag_camp = $(this).parent("h3").parent(".info_suc_config"); | |
$("#dialog-confirm").dialog({ | |
resizable: true, | |
height: 140, | |
modal: true, | |
show: "slow", | |
title: "Desea borrar la entrada?", |
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
$().ready(function(){ | |
var cont = 0; | |
$("#sumar").click(function(){ | |
cont++; | |
$("#result").html(cont); | |
}); | |
$("#restar").click(function(){ | |
cont--; |
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
$().ready(function(){ | |
$("#selector").on('change', function(){ | |
switch($("#selector option:selected").val()) { | |
case "1": | |
$("#mensaje").html("buena opcion"); | |
break; | |
case "2": | |
$("#mensaje").html("medianamente buena opcion"); | |
break; |
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
$().ready(function(){ | |
$("#mostrar").click(function(e){ | |
$("#textbox").show(); | |
}); | |
$("#ocultar").click(function(e){ | |
$("#textbox").hide(); | |
}); | |
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
#ifdef _H_LTEXTURE | |
#define _H_LTEXTURE | |
#include <SDL.h> | |
#include <iostream> | |
/** | |
* \brief Create a texture with our modifications | |
*/ | |
class LTexture |
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 | |
namespace App\Http\Controllers; | |
use Illuminate\Database\QueryException; | |
use Illuminate\Http\Request; | |
class APIController extends Controller | |
{ | |
public static function index($model, $relation = null) |
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
[ | |
{ | |
"name" : "BUENOS AIRES", | |
"locations": [ | |
"25 DE MAYO", | |
"30 DE AGOSTO", | |
"9 DE JULIO", | |
"ALBERTI", | |
"AMEGHINO", | |
"AMERICA", |