Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
const refrescarNombreDeImpresoraSeleccionada = () => {
fetch(RUTA_API + "/impresora")
.then(r => r.json())
.then(nombreImpresora => {
$impresoraSeleccionada.textContent = nombreImpresora;
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment