Questions tagged as 'ajax'

3
answers

Problems between loop and ajax

Ajax for (j=0; j < cidade_nome.length; j++) { $.post('envia.php', {ano:ano, ano2:ano2, cidade: cidade_nome[j].value}, fnRetorno); } Function fnRetorno function fnRetorno(retorno) { teste.push(retorno); console.log(j);...
asked by 19.02.2015 / 17:08
1
answer

$ .ajax does not respond

Code: <script> $(document).ready(function () { $("#submitbuy").click(function () { alert("clicou no submitbuy"); var emailc = $("#emailc").val(); alert("variavel emailc atribuida: " + emailc); $.ajax({...
asked by 03.01.2015 / 16:23
1
answer

How to get the value of a UF list through the CEP query via Ajax?

I'm developing an address form where the user types the zip code and automatically fills in other fields via Ajax. The problem is that I can not get the UF value, which in my case is a list. My example code: <fieldset> <legend>...
asked by 22.01.2015 / 12:52
1
answer

run automatically

I have a code where I will need to have a processing page, and on this page I will need to execute a javascript function automatically. Currently, I execute this function by clicking, like this: <input type="button" id="listarFipe" value...
asked by 22.01.2015 / 22:10
1
answer

How to do update via ajax + php

I want to update data through a modal, however it is not updating. Anyone have any idea why you're not updating? Modal: <script type="text/javascript"> $(document).ready(function() { $('#salvar').click(function() { var des...
asked by 27.01.2015 / 01:02
1
answer

how to prevent an element from being reloaded when accessing other pages of the same site?

How to keep a fixed and unchanged element even by changing pages on a website. Type, a music player, just like the sites link link However, other than ajax, if that's possible?     
asked by 21.12.2014 / 05:07
1
answer

How to make a request on the server using the COMET method?

I have a system, in which it displays database files, in list form. I query the database every 5 seconds using the Polling method. How do I use the Comet method? Since this method is not asking for server information all the time.    ...
asked by 15.09.2014 / 16:47
1
answer

Configuring jsTree for AJAX

I'm using the jsTree plugin, trying to get it to fetch the information by AJAX . On server side I have four tables in the database, each one a level of the tree. Tabela1 -Tabela2 --Tabela3 ---Tabela4 Making the plugin search the firs...
asked by 22.09.2014 / 17:44
1
answer

window.open is not opening the popup

I have an extension that sends things to an external server by ajax post (all in javascript) and the response from the send (sent from the server) is received in the extension itself. I want to put that answer in another popup. How can I do this...
asked by 28.03.2015 / 18:11
4
answers

load plugin datepicker into page call with ajax

I'm using the datepicker plugin All my datepicker input, has the class named datepicker <input type="text" class="datepicker"> So, I have only one setting for the datepicker and I can use it on all pages, so I set it...
asked by 01.04.2015 / 02:53