Questions tagged as 'ajax'

2
answers

Send an image with Ajax and Jquery in MVC c #

I am working in MVC and I want to send an image through Ajax with Jquery, I have been able to send text data but until now I do not know how to send the image, because when I put it to see what data it sent me it comes out as null This is the...
asked by 16.04.2018 / 04:08
1
answer

Problem with & Ntilde and $ _POST

I have a problem with the Ñ in my program which can be solved by changing Ñ by & Ntilde. The html is in UTF-8. Neither javascript nor html have a problem with & Ntilde and php sometimes. What happens is that if PHP receives from AJAX NU & NT...
asked by 10.11.2017 / 16:36
1
answer

Ajax does not work

Container folder: Folder js Sub-Folder ajax JS File ajaxlogin.js Folder php PHP file consultas.PHP HTML file index.html My code is as follows: index.html <!DOCTYPE html>...
asked by 07.11.2017 / 21:51
1
answer

Can not compare the answer AJAX jquery PHP

I hope you can help me. I am working on a web project in php and ajax of JQUERY the problem I have is in the following code: $.ajax({ url: ruta, type: 'POST', data: img, contentType: false, processData:...
asked by 02.01.2018 / 21:47
1
answer

How to fix: 'Creating default object from empty value' in Laravel? [closed]

On the blade I have this code: @foreach <tr id="{{$employee->id}}"> <td class="visibleemployee"> <form action="{{route('admin.employees.cambiarVisible',$employee->id)}}"> <button type="button" id="buttonchangevisib...
asked by 30.10.2017 / 11:30
1
answer

AJAX execution

Gentlemen, I am in a question. I'm working with ASP.NET MVC and I'm running Ajax via post . The requirement is to load two grids with a Ajax for each grid. Strictly speaking, it would be something like that, Example...
asked by 13.11.2017 / 16:23
1
answer

How to group rows in table with DataTable

I am trying to group the rows of a table generated with DataTables and Ajax, but I can not get them to be grouped. I need to group them by the Activity column. The table that is currently generated is the following: The JavaScript code...
asked by 24.10.2017 / 20:35
1
answer

How to fill a table in asp.net mvc4 with ajax?

I'm doing a query to an api with asp.net, the query is well done and everything but I have a problem filling a table with ajax, I could not see the data you send me here the code c # public async Task<List<Sto_TraerCaracterizacionResp...
asked by 02.10.2017 / 17:49
1
answer

Mysql query from Javascript with Ajax

I wanted to know how I can make a Mysql query at a specific time with this watch that I have in Javascript. I understand that you have to use Ajax, but I have tried to include the Ajax part inside the if of the time I want, and everything stop...
asked by 22.09.2017 / 20:20
1
answer

How to send form field value to ajax function

Very good, I have a form in html, and I would like you to click on a button, call an ajax function with the user and password. This is my form. <form method="post" action="javascript:login();" name="loginForm" id="loginForm">...
asked by 18.09.2017 / 21:45