Questions tagged as 'ajax'

1
answer

If I activate the javascript scripts, AJAX stops working

I have some conflict or error with AJAX. If I put a search engine in the header using AJAX, and activate the Javascript script, AJAX stops working and does not show any results. On the other hand, if I deactivate the javascript script, AJAX work...
asked by 15.06.2018 / 16:45
2
answers

send data through ajax of a select

I have the following lines $(document).on('change', '#select_encuestas', function(event) { //alert( this.value ); //alert("sssd"); var x = document.getElementById("select_encuestas").value; //alert("...
asked by 12.03.2018 / 23:28
1
answer

Bring php variable in an xmlhttp function

I am working with html, php, javascript, postgres. I have a form that contains a combo, a button and a panel. The operation of the form basically is: choose a type of animal, press the filter button and the panel displays a table with the...
asked by 13.03.2018 / 19:09
2
answers

Group result by column in response of AJAX PHP

I have the following Table in the database, I want to retrieve it to generate a report: I'm recovering it with the following function statement in php: #BUSCAR CAJA Y BOLSAS public function todoReporteModel($datos, $tabla){...
asked by 22.02.2018 / 21:18
0
answers

How to make a table that is updated at the same time as an INSERT INTO is made to the base?

I am developing a fairly simple tool, it is for a Call Center works in the following way. It is basically a "Ranking" of best sellers, by means of a form the sales are entered into a database and on the page informe.php this table of the quer...
asked by 22.03.2018 / 19:08
2
answers

Clone dependent selects in 3 levels

I have a code in which I cloned the first row of a table using a "+" button, which has three select each dependent on the other, that is, depending on what I select in the first select (soc), it will list me some options in the sec...
asked by 23.03.2018 / 17:14
1
answer

Rails 5.1.2 problem with AJAX

I want to implement ajax to create a post, without having to reload the page and that does not go to the show as usual rails, I'm doing it following a tutorial but it does not work. in the _form.html.haml you can see that you add the remote:...
asked by 21.07.2017 / 21:18
1
answer

understand a method with closets (), next and find ()

I have a method that another programmer did but I can not understand it, could you help me understand the method please function guardar() { if ($("input[name='horarioEntrada']").length > 0) { $(".loader").fadeIn("fast", function() {...
asked by 31.01.2018 / 17:01
1
answer

Problem when traveling the json obtained with ajax

I have this code HTML to consume JSON by ajax , but it does not show me the data I want to bring. Can you tell me what I'm doing wrong? The url of JSON is this: link * This is the script that t...
asked by 09.01.2018 / 19:17
2
answers

Javascript TypeError: variable undefined

I have the following problem in my javacript code, I have searched for all kinds of solutions and nothing. Here I have my code ready and running trial version ajax.html there all var arreglo; var area = new Array(); v...
asked by 15.12.2017 / 22:06