Skip to content

Instantly share code, notes, and snippets.

@guiszytko
guiszytko / gist:d324c35705f23d78e273ddf0b38232c7
Created March 23, 2021 20:55
funçao recebendo undefined
function recuperaTipoEndereco(teste){
debugger;
let tipoEnderecos = $('#tipoEndereco_hidden').val()
TIPOENDERECOS = JSON.parse(tipoEnderecos);
TIPOENDERECOS.map((v, index) => {
if (v.id == teste){
return v.nome;
}