Questions tagged as 'ajax'

2
answers

Place the 'id' of my input's in formData for the image upload in Ajax

Hello, I need to know how I can add to formData the id "not the name" of my inputs in my div since I only found one for file but I need pass the other inputs , that to be exact I already have captures and previously saved i...
asked by 21.06.2017 / 15:41
1
answer

Remember fields in a form in the browser does not work with ajax calls

When creating a form in the normal way it means: <form action="index.html" method="post"> </form> When submitting or submitting the data of each input, they are saved (remembered by the browser) and displayed in the input the ne...
asked by 17.01.2017 / 16:57
1
answer

Populate data a datatable from a JSON

Working with ASP.NET MVC, I am using the library DataTable.net I am bringing data from the database through a JsonResult that returns the information in plain text. Method // GET: Cliente public ActionResult Index() { L...
asked by 07.12.2017 / 20:02
1
answer

Update post meta on wordpress and woocommerce

I am creating an e-commerce based on tourism where on the payment page the purchased trip is shown along with the number of people who are going to travel. This amount can be changed on the same page and then after the change the traveler's data...
asked by 02.10.2016 / 23:10
1
answer

Problem with empty Ajax!

I have a form in which there is a textArea. This form is validated first by Ajax to check if the texArea text is large enough and after this, it is validated in the controller action for the rest of the data. Well, the first time I submit, th...
asked by 30.08.2016 / 15:33
1
answer

Notice: Undefined index: PHP and Ajax

I'm trying to send a form, but when sending the page does not reload, for that I'm using ajax and then to save them PHP, but I have the following problem, he says Notice: Undefined index: mail in C: \ xampp \ htdocs \ send \ formsubs.php on line...
asked by 20.05.2016 / 10:39
1
answer

Show items while typing in the search engine in django with ajax

In link this is a search engine that shows some results while typing in it. But now what I want is that it does not show those results if I do not change the list of spells while I'm typing there. Something like what google does, I think it is...
asked by 23.09.2016 / 14:58
0
answers

Sum of new fields within a foreach

please help me, I need to add the new fields of a foreach since it will modify the current amount that comes from the query, I leave my code in case someone can help me please. <script type="text/javascript"&...
asked by 28.09.2018 / 16:25
1
answer

Send and get array of arrays js in servlet

I want to send an array of arrays to a java servlet via ajax, receive that data and go through it. Ex: var datos=[[1,2,3],[4,5,6],[7,8,9]]; $.ajax({ url: servlet, dataType: 'json', type: 'post', data: { lista: datos }, succes...
asked by 24.06.2016 / 18:22
1
answer

Receive value Date in a modal and field date

I continue with the editions of registers on manners. Well, I find that when I pass the data to the modal I receive everything but the date that I do not get marked the BD. Vereis I keep sending the data as always: Adding the command id t...
asked by 31.08.2018 / 07:19