Questions tagged as 'ajax'

1
answer

Jquery Selector

Good I am trying to make a query to a database with AJAX once the user has entered values in 3 input. The query must enter the results in the datalist of a 4th input. The problem I have in the selector, I have done it by nesting them so that if...
asked by 25.08.2017 / 15:29
1
answer

Error Receiving data from an API in javascript

I have a problem, I am receiving the data from an API and to be able to graph, the problem that I have is that I receive all the data and when it is updated the other data are added, that is, the last 20 are plotted, plus the 20 recent, and I ju...
asked by 23.08.2017 / 20:11
2
answers

How to use a variable in getElementById (AJAX & PHP) [closed]

The code is a function in AJAX that receives from a PHP page 2 variables: id and nombrediv . nombrediv is the id of the div where I want to show the result of the ajax function, but it does not work. Can this be done?:...
asked by 14.08.2017 / 10:50
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 05.08.2017 / 00:16
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 / 03:15
2
answers

How to use AJAX in a form?

Good afternoon, I think the title is badly expressed, I'll edit it when I think of a more precise question. Basically I explain my problem: I have a web page with an information request form. The action of the form is redirected to...
asked by 21.09.2017 / 19:52
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 / 05:44
1
answer

Reload my AJAX table

I am trying to make a table update automatically, by calling AJAX , for example when I change the range of dates these are sent to a model that executes a function and takes the parameters and performs the query. The problem here is tha...
asked by 20.07.2017 / 21:07
2
answers

Problem uploading ajax and php files

I do not know what is happening but I can not upload files with php / ajax does not recognize the index file, My code: Html: <div class="wrapper-attachment" data-type="attachment" style="display: none;"> <form name='archivo' enct...
asked by 21.07.2017 / 14:31
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 / 17:17