Questions tagged as 'ajax'

1
answer

Ajax does not run correctly

I have a Ajax request that I make for my controller and it returns me a array with necessary data, however, the return of the request comes correct because giving a console.log(retorno) it shows me in the console the correct values...
asked by 12.12.2017 / 16:38
1
answer

Cancel Event Click JQuery preventDefault

Hello, I'm not able to use addClass when I give a response to my page using ajax. What happens is that it adds the class to my html element for a moment, but the behavior is as if the page was loading, so nothing happens. I'm doing a paging....
asked by 05.01.2018 / 12:30
0
answers

Google maps measure mileage between two points by the time

Next galera: google maps measure speed (mileage) between two points by the time of each example point: Point A (Lat and Long + hour type 10:00 hs) Point B (Lat and Long + hour type 11:00 hs) Then the speed would be approximately 45...
asked by 22.12.2017 / 08:35
1
answer

How to send image to laravel route with AJAX

I have a common POST route in laravel, but in a separate project I'd like to use AJAX to send an image to this route. I'm going to use the html2canvas to get the screen screenshot. var content = document.getElementById('welcome'); html2canvas...
asked by 20.12.2017 / 20:12
0
answers

I can not use webservice

I have the following webservice : http://IP:PORTA/wsexecbo/WebServiceExecBO?wsdl In this WS I have the following function: http://IP:PORTA/wsexecbo/WebServiceExecBO?wsdl/userLogin I would like to consume this WS directly...
asked by 08.12.2017 / 19:08
0
answers

Is there any way to set spring MVC to receive an object with subobject?

I have in my project a controller that receives data via jquery. But this data is converted into an object containing subobject. that is: class Teste{ String a; String b; Test2 teste2; } class Test2{ String c; String d; }...
asked by 30.11.2017 / 01:03
0
answers

How to call a specific PHP function with AJAX?

I need to call a specific function inside a PHP file with AJAX. I have tried in many ways, I have even done research here in Stack , but it does not roll at all. What I'm doing: PHP code: $functionName = filter_input(INPUT_GET, 'functio...
asked by 27.11.2017 / 13:59
1
answer

Ajax to make select in bank does not work on new line

I am having difficulty in the following situation, when generating a new row of the table my Ajax code to make a select in the bank does not work. Follow the image below to clarify any doubts: Page:<divclass="form-group"> <label...
asked by 26.11.2017 / 17:28
1
answer

A question regarding the use of POST in the communication between Javascript / AJAX and PHP?

Well I'm working on a project that links JS to PHP through AJAX. To make this connection, I was using the GET method and I was requesting it like this: "seilaooque.php?valor1=x&valor2=y" But now I'm thinking of moving everything to...
asked by 28.11.2017 / 14:18
1
answer

Create only one and not several modals

Well, I have a registration system and in the part of updating the user data it generates a modal, but the page is getting heavy because there are many records and each record has a modal, how do I create only one and popular the same according...
asked by 25.11.2017 / 20:20