Questions tagged as 'ajax'

2
answers

Javascript + Ajax is not returning as expected

I'm trying to send the data from this page to the server, but Js does not return the Message variable ... I know little of JS and would like some way to call the variable as soon as the server receives the data.     
asked by 10.08.2015 / 22:16
1
answer

Why does my Jquery code not work on elements loaded with .load (), how do I load them?

What is the correct way to load my jQuery scripts along with .load (). I did it this way but I wanted another solution that would work with all updates that occur with the form, such as remove from products, change from cart quantity and etc:...
asked by 12.12.2014 / 21:59
1
answer

Ajax saving dynamically

I'm trying to save the register made, but when I open my modal, it does not understand that I'm clicking save, so it does not send the data, it follows the code I'm facing problems: Userlist.php <script type="text/javascript"> j...
asked by 02.06.2015 / 18:52
1
answer

Returning HTML Fragment with Ajax

Is it possible to return only one code fragment of a page with AJAX JQuery ? What I want to do is: I have a page where, through POST , I send the ID with AJAX , and it generates the body of a modal <div class...
asked by 02.06.2015 / 23:39
1
answer

Asynchronous server responses, for AJAX route calls

I have an application that at the end of loading a page I make an AJAX request that takes about 20 seconds. After this request my page continues to function normally so when I try to make another AJAX request it waits for the first one to ret...
asked by 27.08.2014 / 18:55
1
answer

'Load more' button duplicates or does not work AJAX / JSON

Personal oops, all right? Next, I have a table that is fed with content from an external file in JSON (created from PHP with data coming from the DB). When you open the site, the table comes with only 2 records and clicking 'Load more' plus 2...
asked by 14.03.2015 / 16:26
1
answer

Creating archive.php in wordpress using custom field

I'm trying to create a calendar page in WordPress where the user selects the month by a select : <select> <option>Janeiro 2015</option> <option>Dezembro 2014</option> <option>Novembro 20...
asked by 14.02.2015 / 02:40
1
answer

AJAX request works on all browsers except Firefox

I have tried to make an AJAX upload system and it works perfectly in Chrome, however it does not work in firefox. I used the $.ajax() function of JQuery. Do you have any suggestions whatsoever? I have a normal form that requires a file...
asked by 02.10.2018 / 22:19
1
answer

Correct view creation in MVC using Ajax

I have a page that maintains a budget. Below I present a briefing of entities public partial class Orcamento { public int IdPedidoCompra { get; set; } public int IdCliente { get; set; } public System.DateTime DataPedido { get;...
asked by 23.06.2015 / 21:58
1
answer

Ajax function for MVC controller

I have this function with array and I am not able to pass to the controller values, I listing, it appears correctly, I use angular. $scope.addItem = function (user) { $scope.items.push({ de: $scope.total,...
asked by 06.06.2018 / 20:43