Questions tagged as 'jquery'

1
answer

Ajax with jquery in Symfony

I have the following code: On the route I defined it like this: ajaxordersku: path: /ajaxordersku defaults: { _controller: AppBundle:Admin:orderskufororderid } methods: [GET] In the controller that you belong to the path defi...
asked by 04.08.2017 / 22:16
2
answers

Pass JSON result to a table

I have the following code function pres(m,s,p) { peticionDatos( '<?php echo base_url(); ?>index.php/nombres/ejemplo/datos', {m:m, s:s, p:p}, function(){mostrarCuadroProceso(0);}, function(datos){ console.lo...
asked by 04.08.2017 / 18:32
1
answer

ajax.reload () DOES NOT work

I am working on a project for the institute but I can not make it through ajax the DataTable is reloaded after inserting the record in the DB and in the console this error is generated: Uncaught TypeError: Cannot read property 'ajax' of undefi...
asked by 22.09.2017 / 01:15
2
answers

Show elements of an array if they are repeated and if they match your position

I have this script currently showing me the repeated numbers between 2 arrays but I can not do it to show me the repeated numbers and if their position matches var number_load = [2,3,4,1] var number_input = [9,5,3,1] for(var numbers...
asked by 21.09.2017 / 17:04
1
answer

How to update an id with Ajax

Hello people I have a problem with id I can not update an ID in case there is a message without seeing as well as facebook I want the user id to be updated but it does not work. I hope friends help me HTML: <div id="'.$fila['us...
asked by 22.07.2017 / 03:44
2
answers

send modal data to jquery bootstrap4

I have a problem sending data from a modal to jQuery. I do not know why the code does not appear, could you help me edit and tell me what the problem is so it does not happen again? The error I receive is the following ( screenshot of the err...
asked by 22.07.2017 / 18:39
1
answer

When calling a function (Uncaught ReferenceError Is not defined) [closed]

I have a problem when I call the show products by quality and specialty () . Before I had only the first two parameters, but when I added the third data.name I got the following error: Uncaught ReferenceError: MADRID is not defined     at...
asked by 20.07.2017 / 15:17
1
answer

how to redirect from ajax?

Very good I have a problem to redirect from use ajax post request The problems are as follows: I have a div which receives only all the validation texts that could occur in the application <div id="resultado"> </div...
asked by 17.07.2017 / 20:25
1
answer

Return .done s string in a Jquery Ajax response

I have the following code: function GET_URLAsync(strUrl, aParm) { var response = $.ajax({ type: "POST", url: "../Paginas/" + strUrl, data: JSON.stringify(aParm), contentType: "application/json; charset=utf-...
asked by 19.07.2017 / 20:26
2
answers

Td color according to value

I have an HTML table with two columns (description and value), and I need each row to paint a specific color depending on the value of the "value" column. With jQuery I am using this: $("#mitabla td:last-child:contains(5)") .parents("tr...
asked by 17.07.2017 / 16:59