Questions tagged as 'ajax'

3
answers

can not read property 'value' of undefined

I'm trying to make a quick add button to the cart but I have a problem and it is that I get the error:    Can not read property 'value' of undefined ' I am using ajax and php. I do not know what the problem could be, that is why I come to...
asked by 17.08.2018 / 21:11
1
answer

Calendar with PHP, JavaScript and AJAX

I need to make a code that reads the date that the user selects, through a calendar made with Boostrap, the detail is that I can not find a way to achieve my goal. Annex code that I currently carry: Bring calendar data: function calendar(){...
asked by 20.08.2018 / 00:43
0
answers

Submission of Form and Data from Table to ASP .NET Controller by AJAX

This is my first question on this platform. I am new with the ASP .NET framework and I have a problem that I tell you: I have a table that is generated as products are added to it to be billed. I also have a form with the data of the invoice....
asked by 05.09.2018 / 16:08
0
answers

Show modal while another controller method is running and shows its elements

Hello, good morning, I have the following problem. I have a controller reg_calls_controller.php which has its function index and load the view reg_calls_view.php , in the html I have several things in between button that calls to the fo...
asked by 20.07.2018 / 18:36
0
answers

Error in Uncaught TypeError: Can not read property of undefined

I have a script with jQuery in which performs the 'CRUD' with a form and DataTables . To load data the table I use the following method: var cargarDatos = function () { $("#update_container").slideUp(); $("#add_container").slideUp(); var t...
asked by 20.07.2018 / 20:20
0
answers

Problems with p: ajax

I have a problem with p:ajax within a p:selectOneMenu when selecting an item. It does add but in a specific item it does not add it. That is to say in the image I can add ANTIQUING, STONE SETTING6, but when adding STONE SETTINGs...
asked by 20.07.2018 / 19:49
0
answers

How to use the .each function in Ajax

I'm trying to show several response results. Follow up, check a little and I found out that it's with .each to show me everything about that field, this is my code .. function Tcaso(id){ $.ajax({ type:"POST", data:{'id':id...
asked by 13.07.2018 / 15:34
1
answer

how to make a button perform an action and at the same time (second action) reload the page with new data

I have doubts when implementing this requirement; I have a page in php in which I show a table with 10 records of MYSQL same that I can select to be able to update in the database, with javascript and ajax sent the data again to another php to...
asked by 02.10.2018 / 17:38
0
answers

array sent by ajax does not reach full php

I have an array of 61 elements, each element of that array is another array Array(61) [ {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, … ], The issue is that when I sent it as a parameter to php and I do a print_r it only prints...
asked by 03.09.2018 / 20:22
0
answers

execute javascript script inside a div loaded with ajax

I have an index.php which contains a div called content in which I upload another file listarusuarios.php with the following script function ajaxFunction() { var xmlHttp; try { xmlHttp=new XMLHttpRequest(); return xmlHttp; } catch (...
asked by 17.08.2018 / 20:06