Questions tagged as 'ajax'

1
answer

Problem with firefox add-on on site that does not refresh / browse Ajax / JS

I'm developing my first Webextension (Firefox add-on) and it's working properly. However, I'm having problems when part of the site is navigated without refresh. That is, the extension does not work because it only works when you refresh or...
asked by 31.01.2017 / 22:07
1
answer

Single Ajax with different outputs that does not work without async

Hello. I have a function with an ajax request inside (this is the actual function): function carregaAjax(caminho,tabela,funcao,dados){ dados.push({name:"funcao", value:funcao}); dados.push({name:"tabela", value:tabela}); var retorn...
asked by 09.02.2017 / 19:06
1
answer

Pass value to 2 different paths

I would like to pass the var data = 'codreq =' + id; variable to two paths. It is possible? If so, someone can teach me. I can only move to this path: url: "<?= base_url('coordenador/protocolo/buscaDetalhesRequerimento') ?>" I need...
asked by 08.02.2017 / 20:18
1
answer

How to fetch values in a PHP file with jQuery - AJAX?

I want to get a string in a PHP file called search.php I want to return a string for my index.php but I want to do this when calling the try_it () function, is there any way I can do this with jQuery? I do not want index.php to update the page,...
asked by 26.01.2017 / 18:14
1
answer

php and ajax email sending [duplicate]

I'm trying to send email from my page, but it does not return any message if it succeeded or not, I'm using php along with bootstrapvalidation and ajax to forward the information to my php page. JS // Contact Form Scripts $(function() {...
asked by 20.01.2017 / 00:48
1
answer

How do you disable cross origin constraints to run on localhost?

<!doctype html> <html lang="pt-br"> <head> <meta charset="utf-8"> <title>Teste - LOTECE</title> </head> <body> <div class="resultado"></div> <script src="https://aj...
asked by 13.01.2017 / 17:15
1
answer

How to consume a multipart form-date method with void method

How to consume a multipart / form-data method of a webservice done in java, by ajax or jquery? Below I leave the method as follows: JAVA: @POST @Path("/aprovarCompra") @Consumes("multipart/form-data") public void aprovarCompra...
asked by 16.01.2017 / 15:01
0
answers

Error consuming web service axml with apache cordova Visual studio

I have a project with apache cordova running in visual studio, when I try to make a web service connection it returns me the error below    ReferenceError: $ is not defined at ChildScope.Test [as WS]   (controllers.js: 15) at fn (eval at comp...
asked by 10.01.2017 / 15:56
0
answers

Consuming XML data via Ajax

I need to consume the data of an XML via AJAX but Firefox always returns an "incorrect formatting" error and does not print anything on the screen. The same AJAX runs seamlessly in Chrome, but other browsers do not load anything. $.ajax({...
asked by 10.01.2017 / 19:19
1
answer

Skip field input after click (function () {

Someone knows how to jump to the next field (input) using the function inside the event: click(function() { Can not be by ID because I'm using inside a div that uses the CLONE function of jquery. Thankful     
asked by 10.01.2017 / 03:28