Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Object {readyState: 4, responseText: "", status: 200, statusText: "OK"}
- $.ajax({
- url: 'datacenter/functions/filtraDados.php',
- type: 'POST',
- dataType: 'JSON',
- contentType: "application/json; charset=utf-8",
- data: {usuario: $("#dropdown-user").val()},
- success: function(data){
- $("#filtro-rede").text(data[0][0]['rede']);
- $("#filtro-loja").text(data[0][0]['loja']);
- },
- error: function(error){
- //alert('Ocorreu durante a execução do filtro. Tente novamente mais tarde!');
- console.log(error);
- }
- })
- error: function(jqXHR, status, error){
- //alert('Ocorreu durante a execução do filtro. Tente novamente mais tarde!');
- console.log(status, error);
- }
- dataType: 'JSON'
Add Comment
Please, Sign In to add comment