This commit is contained in:
Marcos Lopez
2024-01-23 13:52:08 +01:00
parent ad40171fb4
commit b83034e0ab
12 changed files with 408 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
function generaPedido(){
let txtNombre = document.getElementById("nombre").value;
let slbMaterial = document.getElementById("tipoCaja").value;
let chkDimensiones = document.querySelector('input[name="dimensiones"]:checked').value;
let txtComentarios = document.getElementById("comentarios").value;
let txtResultado = document.getElementById("resultado");
let resultado=` ${txtNombre} ha pedido una caja de ${slbMaterial} con unas dimensiones ${chkDimensiones}. ${txtComentarios}`
txtResultado.textContent=resultado;
}