Questions tagged as 'ajax'

1
answer

Execute inline JS within the return of an AJAX

I have a hotsite that works in AJAX and friendly urls (more specifically with PJAX ). Where the top and footer are fixed, and only the content is injected into the page. The problem is that right now, I can not perform the inline javascript...
asked by 29.08.2014 / 07:31
1
answer

Msxml3.XMLHTTP In which case is it used?

I was reading the following topic: Ajax request with pure Javascript (without APIs) There they show the following line of code: var XMLHttpFactories = [ function () {return new XMLHttpRequest()}, function () {return new ActiveXObj...
asked by 27.08.2014 / 15:26
2
answers

Like button

I have the following button <a href='?area=ref&amp;acao=curtir&amp;noticia=$noticia->id&amp;perfil=$user'>Curtir </a>"; that calls the function that is in the action page that I like the related article, but it h...
asked by 07.06.2014 / 00:30
1
answer

AJax Problem When Trying to Use Data in Later Functions

I'm trying to get the data in the BuscaCabeca and BuscaBraco functions, it's returning the data all right, but when I try to use the data created cabeca and braco it gets undefined, what am I doing wrong. $(document)...
asked by 14.11.2018 / 22:06
1
answer

Ajax, JQuery Records Duplication

I have an HTML page to confirm items for a goods transfer. In it, jQuery, AJAX is used with the option async: false and VRaptor. I did the following test: I created a multi-item download. After downloading, I went to the confi...
asked by 27.05.2014 / 20:06
1
answer

JSON Structure for HighChart Line

I would like to know what would be the correct structure for creating a LINE chart in HighCharts with dynamic data: Example link Home I have values that I want to show in a row, its evolution during the months, but I do not have all the months...
asked by 03.06.2014 / 18:56
2
answers

Quit get request as soon as you start another

In my ecommerce has a search field. As the user goes typing, it returns a list of products in a div below the search field. this is 100% In the label I put an onkeyup that performs a function that searches the product list and displays. this...
asked by 12.03.2015 / 14:14
1
answer

How to load plugins already configured after page load by ajax

I have a page that has a form In this way, it contains some inputs, which have classes, eg: <input type="text" class="datepicker"> <input type="text" class="marcara-cpf"> And the configuration of some of the plugins is...
asked by 07.03.2015 / 15:24
4
answers

Upload file with AJAX

I would like to know if there is any simple way to upload files via AJAX + JSON. If there is one, what would it be?     
asked by 18.03.2014 / 18:55
2
answers

How to pass the 'id' of a post via 'post' using AJAX?

I would like to execute an update via ajax , but I am having difficulty sending id of the post via post or get to the external form: php/editarDespesa.php . The form is not displaying dados , but without us...
asked by 13.12.2014 / 09:26