Questions tagged as 'ajax'

1
answer

Upload Json file with Ajax

How do I load a Json file into my html. The console does not show any errors, but no field is populated with the data from the Json file.               <h3 class="center">Tela de alunos</h3> <div class="container"> <...
asked by 09.08.2017 / 22:12
0
answers

View message error

I have this code: $.ajax({ url: "/InternalAuditRecord/SaveInternalAuditRecord", type: "post", data: $("form#internalAuditRecordRegisterForm").serialize()+"&idResponsibles="+responsibles+"&am...
asked by 20.07.2017 / 13:24
1
answer

Save file sent in Ajax in the backend node

Hello I have a backend on node and I'm getting this ajax request var arquivo = $("#assinatura"); arquivo.on('change', function (event) { if (arquivo[0].files.length == 0) return false; var data = new FormData(); data.append('assinatura'...
asked by 20.07.2017 / 00:42
0
answers

Run search update on button

My search field updates a selectManyMenu whenever something is typed in it <p:inputText id="txtFiltroOrgaoDestino" value="#{mBManifestacao.txtFiltroOrgaoDestino}" style="width: 350px"> <p:ajax update="slcUnidadeTramite" event="key...
asked by 16.08.2017 / 21:44
0
answers

Page redirect with JS and PHP inconsistent

I'm trying to redirect to a page using window.location.replace (). However, sometimes the page does not redirect. At first I thought the error was loading a google font, but even removing it, the problem persisted. JS / jQuery code $('#butt...
asked by 14.07.2017 / 14:26
0
answers

I have a MVC system I need to make a request in ajax to display content on demand, I can not do it for data_url

(function($){ $.fn.loaddata = function(options) {// Settings var settings = $.extend({ loading_gif_url : "https://zippy.gfycat.com/ImpoliteLivelyGenet.gif", //url to loading gif end_record_text : 'Não existe mais conteudo!', //no...
asked by 01.08.2017 / 04:17
0
answers

Problem with Ajax does not support BLOB?

I want to bring a file with ajax that is in my database, but the file becomes too big for ajax. It has modified the ajax so it brings the file or there is another way. MY AJAX CODE $('#datatable-responsive tbody td').click(function(){...
asked by 18.07.2017 / 15:52
0
answers

Get array of a php after an ajax request

I'm having to make an ajax request, which returns more than one value, and once I click on that value, another ajax request would be executed. In order to do this request, I send an ajax request to php to make a select, where in that select i...
asked by 29.06.2017 / 19:52
6
answers

Ajax is not a programming language. So what is it?

I'm asking this question because I've had enough of seeing things as requirements for a particular programming job:    You need to know the languages PHP, Javascript, CSS and AJAX I've already learned that Ajax is not a programmi...
asked by 02.03.2016 / 15:28
0
answers

How to enable cross-origin in tomcat?

I basically need to enable Cross-Origin in my Tomcat 8.5. I want to know the right way to do this and what are the risks?     
asked by 02.06.2017 / 22:45