Questions tagged as 'ajax'

1
answer

Popular combo with ajax call

Well folks, I would like to add a data and at the same time update the ajax that is next to ... In the code I inform the content and after selecting the new button I add the content and update the peripheral with AJAX . <form nam...
asked by 23.07.2014 / 14:54
1
answer

How to pass parameters dynamically to Rails?

I have a rather complex problem to the extreme. I need to somehow pass parameters dynamically to the params via javascript, to show / hide some fields in a report on user's request. Below is a screen representation: I have a form where th...
asked by 30.10.2014 / 12:31
2
answers

How to query DB without refresh and write the returned data?

I need to query my database with something like AJAX / JSON I'm not sure and return the result inside a div next to this # . div is already on the side to receive the result of the query. I'm not sure how I can start doing th...
asked by 28.10.2014 / 22:06
1
answer

Link does not work after div load

I'm doing a login , using Ajax to send the data to a PHP page, which returns with the response if the login was validated or not. If it's okay, I update a <div> with the logged in user's data and display the avatar without giving...
asked by 29.10.2014 / 14:45
2
answers

Request ajax accessing scripts already included

Hey guys, I have a view that renders a partial view. Index.cshtml <script type="text/javascript" src="~/Scripts/jquery-2.1.1.js"></script> <div class="tab-control" data-role="tab-control"> <ul class="t...
asked by 30.07.2014 / 23:03
1
answer

Uploading files using REST and Java

I'm creating an application and need a way to upload xls / xlsx files, sending the front-end (Ajax) file to the backend (Java) so it can be manipulated. Ajax code: $("#formulario").submit(function () { var formData = new For...
asked by 14.07.2014 / 22:36
4
answers

Click event only works the first time

I've tried to find it elsewhere, but I did not find a solution that worked for me. The site is this: link These 3 squares at the top are places for the photos of the services provided to the last 3 clients (shown in slideshow). When I cl...
asked by 14.08.2014 / 17:00
1
answer

Callback of ajax using Spring MVC does not work

Well, I'm trying to make a simple AJAX call (which already works), but callback is not "triggered": $('#negotiation-status').on('click', '#button-add-destination', function (e){ var departure = $('#input-departure').val(); v...
asked by 03.11.2014 / 01:12
1
answer

Action redirect another Action using PartialViewResult

public PartialViewResult Index(string quantidadeRegistro) { int qtd; int.TryParse(quantidadeRegistro, out qtd); var bdPedido = PedidosAplicacaoConstrutor.PedidosAplicacaoEF(); var bdCliente = ClientesAplicacaoC...
asked by 13.06.2014 / 16:08
2
answers

Function does not enter ajax success with jquery

I can not get ajax success with this function. The function works, that is, it calls the double click. The first alert is ok, but the second is not triggered. $('#nmUsuario').on("dblclick", '.clique', function() { alert('Alô, tudo bem?');...
asked by 16.10.2014 / 20:38