Questions tagged as 'ajax'

0
answers

Phonegap app stay logged in

I already have a ready app made in phonegap, however the need arose that it stay logged in even after closed, as is the case with most app's. All queries are MySQL calling an external server. What should I use for this?     
asked by 03.05.2018 / 04:47
0
answers

How do I list items with an object through one page to another. (Jquery & Ajax)

$.fn.gerarResumo = function(ajax){ nomes = new Array(); precos = new Array(); quantidades = new Array(); codigosNcm = new Array();*/ var tipoEmbarque = $(".tipoEscolhidoEmbarque").val(); var nomes...
asked by 27.04.2018 / 20:03
1
answer

Undefined variable: id

Contextualization Home It is necessary for the user to register new locations in the project through the multiple selection box. As will be several locales I do not know how ajax and php process this data. Home The following image shows the mo...
asked by 26.04.2018 / 20:16
1
answer

How to use http://loudev.com/ (multiselect.js) in PHP, or how to select items from a multiple select

<table name="tbListagem" id="tbListagem" class="table table-striped table-bordered"> <thead> <tr class="info"> <th>Código </th> <th>Nome </th> <th>Cotas Coloridas...
asked by 24.04.2018 / 18:54
0
answers

Error while capturing an existing data

I have two AJAX services. In one of them I search the user data in a JSON that an API returns me, I parse it and I ask that it insert a certain data for me in a tag . The code is this: if(xhr.status == 200){ console.log(xhr.responseText)...
asked by 28.04.2018 / 00:51
1
answer

Google chart, PHP and Ajax - Pizza chart does not show

I'm not able to plot the pie chart on the google chart. When I change the graph type to Barchart or columnchart, it plots, but when I put piechart it does not divide it. File that takes DB data <?php require('../../Controller/conexao_bd...
asked by 20.04.2018 / 16:59
1
answer

Calendar Primefaces losing style with ajax update

The primefaces component calendar is losing its style after updating with ajax in the view. What do I do to resolve?     
asked by 19.04.2018 / 11:10
0
answers

Call complete () within success ()

Consider my ajax code below function update(){ $.ajax({ url : 'my.hrl', type : 'get', dataType : 'json', success : funcion(data){ if(data.id == null){ //chamar. complete ou error...
asked by 26.04.2018 / 16:35
0
answers

Ajax request does not arrive on server when body is too large

In an ajax call I make to the server in a report generation function I'm encountering a situation. In the body of the request I send a small array, with 20 positions, everything happens normally, but when I send a heavier request, with about...
asked by 25.04.2018 / 14:56
1
answer

Update data automatically without refreshing the page

Maybe this doubt is pretty "beast", but I have tried in different ways and I can not. I have a page that counts a number of products, but I need the data presented through the query that is on the page, to be updated every 1 second without the p...
asked by 30.04.2018 / 15:14