Skip to content

Instantly share code, notes, and snippets.

@ralfting
Created March 24, 2015 14:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ralfting/de94a497d01352712fe3 to your computer and use it in GitHub Desktop.
Save ralfting/de94a497d01352712fe3 to your computer and use it in GitHub Desktop.
updateDollar
/*
* 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