Created
March 24, 2015 14:34
-
-
Save ralfting/de94a497d01352712fe3 to your computer and use it in GitHub Desktop.
updateDollar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Author: Ralph Effting <ralfting@gmail.com> | |
* Description: When changing dollar value, update the value | |
* Data: 24/03/2015 | |
* | |
* */ | |
(function(){ | |
$.ajax({ | |
dataType: 'json', | |
headers: { | |
"Access-Control-Allow-Origin": "http://remodesign.com.br", | |
"Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, MERGE, PATCH, DELETE", | |
"Access-Control-Allow-Headers": "X-PINGOTHER" | |
}, | |
url: 'http://developers.agenciaideias.com.br/cotacoes/json', | |
success: function(data){ | |
alert(); | |
} | |
}); | |
}()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment