Questions tagged as 'ajax'

0
answers

Asp.Net WebGrid upload data through Ajax

I have a WebGrid, which I can load without problems through the past model in sight (MVC C # .net). Until there is no problem. But the need arises to be able to load another WebGrid control, but for that I need as parameter the Id of the se...
asked by 11.12.2018 / 14:06
0
answers

Jquery how to work with each index

I have a question about my Jquery, with this script I sent information to an email, the problem is that 11 emails are being sent to me with the different information, that's fine but what I want is that all this information is summarized in a si...
asked by 10.12.2018 / 20:16
1
answer

DataTables append with AJAX

I need to add a result obtained through AJAX to a table, but I can not get the answer to show correctly. In fact, what happens is that each time the table is displayed, the result is added again. $(document).ready(function(){ var...
asked by 07.12.2018 / 23:47
0
answers

Problem when updating data on screen using AJAX

I have this link, that what AJAX does is give a "like" to the response of a user. Where it says ${respuesta.likes} I show the likes of the answer. The request does it to me correctly, that is, I add the "I like" to the answer, but the pro...
asked by 08.12.2018 / 11:10
0
answers

Pass JSON-Ajax variable to PHP variable

I need to pass an array / JSON / Ajax variable to a PHP variable, so that I can manage it in my file. I currently have this in index.php: <script type="text/javascript"> $("#enviar").click(function(e) { e.preventDefault(); var...
asked by 10.12.2018 / 17:16
1
answer

execute script function in the corresponding box

My question is when I add another row of fields when I put the numbers in the boxes in the row below I take the result in the row above <script> function multi(){ var total = 1; var change=...
asked by 06.12.2018 / 17:01
0
answers

IMPLEMENT AJAX IN ARCHITECTURE MVC php

I have a question about how to implement ajax in php MVC. my file structure is as follows: I do not know which directory should use the ajax requests     
asked by 05.12.2018 / 16:51
1
answer

How can I validate a time type field with this code?

What I need is to modify this script so that it takes the value of a time input from which I must take the time and validate it with mysql and show the user a div that says it is available or that the time is not available selected $(documen...
asked by 05.12.2018 / 18:07
0
answers

AJAX does not make my request to the controller and returns not found

Good morning I have a problem since yesterday. I have a JavaScript function where I make a request with AJAX to a controller called admin_controller to the create_session function. function crear_sesion(){ $.ajax({...
asked by 04.12.2018 / 17:09
1
answer

Help with multiple select2

I have a reservation form, in which I was asked by a client to make several reservations on an invoice, I thought of using select2 with the multiple option to add several rooms in an easy and friendly way, but, there is always a but, When I add...
asked by 05.12.2018 / 03:36