PageSourceSearch

https://ahorrobus.com.mx/o/com.ado.buscador.triple/js/buttons.js

js ahorrobus.com.mx collected 2026-10-01 23:59:22 UTC 3,730 bytes, 167 lines download raw bytes

1
2 $("input#place").keyup(function () {
3      var value = $(this).val();
4      if(value == ""){
5    	  console.log("value - null"+ value);
6    	   	
7       	  $(".alert-comoir").hide(); 
8    	  $(".donde-ir-inputs button i").removeClass( "glyphicon-menu-up" );
9    	  $(".donde-ir-inputs button i").addClass( "glyphicon-menu-down" );
10    	  
11      }else{
12    	  
13    	  
14    	
15      	
16    	  $(".donde-ir-inputs button i").removeClass( "glyphicon-menu-down" );
17    	  $(".donde-ir-inputs button i").addClass( "glyphicon-menu-up" );
18    	 
19      }
20     console.log("value:"+value);
21    }).keyup();
22 
23 
24 
25 
26 $("input#place2").keyup(function () {
27     var value = $(this).val();
28     if(value == ""){
29   	  
30   	  $(".donde-ir-inputs button i").removeClass( "glyphicon-menu-up" );
31   	  $(".donde-ir-inputs button i").addClass( "glyphicon-menu-down" );
32   	  
33     }else{
34    
35    	 
36   	  $(".donde-ir-inputs button i").removeClass( "glyphicon-menu-down" );
37   	  $(".donde-ir-inputs button i").addClass( "glyphicon-menu-up" );
38   	 
39     }
40    console.log("value:"+value);
41    
42	
43   }).keyup();
44 
45$(function(){
46	$("div.pages").jPages({
47	    containerID  : "listContainer",
48	    perPage      : 16,
49	    startPage    : 1,
50	    startRange   : 1,
51	    midRange     : 3,
52	    endRange     : 3,
53	    minHeight	   : true
54	  });
55
56	});
57
58$( document ).ready(function() {
59
60	$('#btncomoir svg path').attr('fill', color2);
61	$('#btncomoir-m svg path').attr('fill', color2);
62	
63	
64	$('#nav-localidad-tab svg path').attr('fill', color);
65	
66	
67	$("#lineascombobox").width();
68	/*
69    $(".localidadselect").hide();
70    $(".buscadorlineas").hide();
71    $(".buscador-donde-ir").hide();
72    $(".cuando-llega").hide();
73    */
74    //$('input.custom-combobox-input').val('');
75    
76   
77   
78    $( ".ui-widget" ).click(function() {
79    	
80    	  $('input.custom-combobox-input').val('');
81    	  
82    	 
83    	});
84    
85    
86    
87});
88
89
90
91$("#btncomoir").click(function(){
92	
93	  $(".triple-buscador-opciones").hide();
94	 
95		$(".buscador-donde-ir").show();
96		$("#btncomoir").hide();
97		
98		  console.log( $("#deskcomoir .input-buscador").width());
99	      	var nume =  $("#deskcomoir .input-buscador").width();
100	      	console.log( $("#ui-id-1").width(nume));
101	      	$('#ui-id-1').css('width', nume+'px!important');
102		
103});
104
105$("#btncomoir-m").click(function(){
106	
107	
108		$(".comoir-movil").show();
109		$("#close-movil").show();
110		$(".buscador-movil").hide();
111		$("#btncomoir-m").hide();
112		
113		
114});
115
116$("#close-movil").click(function(){
117	
118	
119	$(".comoir-movil").hide();
120	$("#close-movil").hide();
121	$(".buscador-movil").show();
122	$("#btncomoir-m").show();
123	
124	
125});
126/*
127  $(".localidad-item").click(function(){
128	  $(".lista-localidad-container").toggleClass("active");
129	  $(".localidad-lineas").toggle();
130  })
131  */
132$("#close-button").click(function(){
133	
134	  $(".triple-buscador-opciones").show();
135		 
136		$(".buscador-donde-ir").hide();
137		
138		$("#btncomoir").show();
139
140});
141
142$("#nav-tab #nav-localidad-tab").click(function(){
143	console.log(this);
144	$('#nav-tab .nav-link svg path').attr('fill', 'white');
145	$('#nav-localidad-tab svg path').attr('fill', color);
146	
147	$('#nav-parada-tab svg rect:nth-child(3)').attr('fill', 'white');
148	$('#nav-parada-tab svg rect:nth-child(4)').attr('fill', 'white');
149});
150
151$("#nav-tab #nav-linea-tab").click(function(){
152	console.log(this);
153	$('#nav-tab .nav-link svg path').attr('fill', 'white');
154	$('#nav-linea-tab svg path').attr('fill', color);
155	
156
157});
158
159$("#nav-tab #nav-parada-tab").click(function(){
160	console.log(this);
161	$('#nav-tab .nav-link svg path').attr('fill', 'white');
162	$('#nav-parada-tab svg path').attr('fill', color);
163	$('#nav-parada-tab svg rect:nth-child(3)').attr('fill', color);
164	$('#nav-parada-tab svg rect:nth-child(4)').attr('fill', color);
165	
166
167});

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.