1 2 3$(document).ready(function(){ 4 5 6//opciones en la pagina principal 7 8$('.tab_contents').hide(); 9 10 $('.opt').click(function(){ 11 var target = $(this.rel); 12 $('.tab_contents').not(target).hide(); 13 target.toggle(); 14 15 $('#tabs_container > .dropdown-menu > li.active') 16 .removeClass('active'); 17 18 //$(this).parent().addClass('active'); 19 20 $('#tabs_container > .tab_contents_container > div.tab_contents_active') 21 .removeClass('tab_contents_active'); 22 23 $(this.rel).addClass('tab_contents_active'); 24 }); 25 26 27//Mensaje y botón cerra 28 $('.verform').click(function(){ 29 $('.masform').addClass('form-color'); 30 $('.masform').toggle('fast'); // mostrar/ocultar 31 }); 32 33//combo de urbanizaciones generales 34 35 //combo de urbanizaciones y zonas alquileres 36 $("#alq_zona").change(function () { 37 $("#alq_zona option:selected").each(function () { 38 //alert($(this).val()); 39 elegido=$(this).val(); 40 $.post("/ajax/zonas.php", { elegido: elegido }, function(data){ 41 42 $("#alq_urbanizacion").show(); 43 $("#alq_urbanizacion").html(data); 44 $(".formver").show(); 45 }); 46 }); 47 }); 48 49 50 //combo de urbanizaciones y zonas ventas 51 $("#v_Zona").change(function () { 52 $("#v_Zona option:selected").each(function () { 53 //alert($(this).val()); 54 elegido=$(this).val(); 55 $.post("/ajax/zonas.php", { elegido: elegido }, function(data){ 56 57 $("#v_Urbanizacion").show(); 58 $("#v_Urbanizacion").html(data); 59 $(".formver").show(); 60 }); 61 }); 62 }); 63 64 65 66$("#v_Categoria").change(function () { 67 $("#v_Categoria option:selected").each(function () { 68 //alert($(this).val()); 69 elegido=$(this).val(); 70 $.post("/ajax/categorias-inmuebles.php", { elegido: elegido }, function(data){ 71 72 $("#v_resultado_cat").show(); 73 $("#v_resultado_cat").html(data); 74 $(".formver").show(); 75 }); 76 }); 77 }); 78 79 80 81});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.