Questions tagged as 'ajax'

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
10
answers

How to create a site without reloading every click on a link?

I want to develop a site that runs around the same file, but I'm not sure how to look for study material for that. So: Normal site-> I'm on the Index.php page. When I click on the "Portfolio" menu, for example, it goes and loads the file P...
asked by 20.02.2014 / 05:48
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
4
answers

How to make Ajax requests, with Jquery, in different domains?

Is it possible to perform a POST-type request to a url that is not part of the domain of our application? $.ajax({ type: "POST", url: "http://www.dominioexterno.com.br/acao/", data: { var1: $('#input1').val(), var2:...
asked by 09.04.2014 / 15:09
6
answers

Sum of 2 inputs and appear in real time - Javascript

My question is this: I have two type text inputs. One person would put a number in input 1 and another number in input 2. When the person just finished filling in, the result of the sum of the two inputs would appear automatically in real tim...
asked by 18.09.2015 / 19:15
3
answers

How to do Icone walk in api Google Maps

In My script below it every 30 seconds causes the icon to change position, only the icon disappears and appears at the next point. What I wanted was for him to walk to the next point as shown in the image below AsIdonotunderstandjavascri...
asked by 26.04.2016 / 02:28
1
answer

Market APIPayment - REST API subscription / collection (404)

I'm having trouble trying to retrieve the subscription via Ajax. This subscription id is what appears in the URL of my MercadoPago dashboard in Tools > Subscriptions > Subscribers > Subscription. The URL is https://www.me...
asked by 29.09.2017 / 19:03
1
answer

In new browsers now there will be no more synchronous requests?

I saw today in my Google Chrome , updated to version 40.0.2214.91 , a message that said    Synchronous XMLHttpRequest on the main thread is deprecated because of   its detrimental effects to the end user's experience translati...
asked by 23.01.2015 / 12:07
2
answers

Which one to use in Ajax, success or done?

Sometimes I see using success , sometimes I see .done , to handle the response obtained in the request. Which one should I use? Is there a difference between the two? What? Same thing for .error and .fail . I...
asked by 04.07.2017 / 22:18
5
answers

Number of weeks in a month

I would like to know how to calculate the number of weeks that have a month D S T Q Q S S 1 => Semana 1 2 3 4 5 6 7 8 => Semana 2 9 10 11 12 13 14 15 => Semana 3 16 17 18 19 20 21 22 =>...
asked by 20.08.2014 / 14:41