Hi, i am new at javascript and what i am doing now its a form in wich i fill all the information whit products, quantity, price, etc. and after i hit "Submit" button an email triggers with a table with all information previously filled, but what happens is that if i fill whit three products a table with two rows is shown at email and products are separated with a coma insted of creating a new row.
as you can see:
here is a part of my code:
<table cellpadding=\"2\" cellspacing=\"2\" border=\"1\" style=\"width: 100%; font-size: 10pt;\"> <thead><tr><th>Fecha Pedido</th><th>Fecha Entrega</th><th>Cliente</th><th>Razon Social</th><th>Producto</th><th>Uni. Medida</th><th>Cantidad</th><th>Precio</th><th>Total</th><th>Observ. Cliente</th></tr></thead> <tbody><tr><td>" + Despacho_Realizadrder_Date + "</td><td>" + Despacho_Realizado.Estimated_Delivery_Date + "</td><td>" + Despacho_Realizado.Customer.Nombre_Cliente + "</td><td>" + Despacho_Realizado.Customer.Razon_Social + "<td>" + Despacho_Realizado.Products.Product.Product_Name + "<br></td><td>" + Despacho_Realizado.Products.Unidad_de_Medida_2 + "<br></td><td>" + Despacho_Realizado.Products.Quantity + "<br></td><td>" + Despacho_Realizado.Products.Unit_Price + "<br></td><td>" + Despacho_Realizado.Products.Total + "<br></td><td>" + Despacho_Realizadbservaciones_del_Cliente + "<br></td></tr></tbody></table>
hope you can help me
regards
as you can see:
here is a part of my code:
<table cellpadding=\"2\" cellspacing=\"2\" border=\"1\" style=\"width: 100%; font-size: 10pt;\"> <thead><tr><th>Fecha Pedido</th><th>Fecha Entrega</th><th>Cliente</th><th>Razon Social</th><th>Producto</th><th>Uni. Medida</th><th>Cantidad</th><th>Precio</th><th>Total</th><th>Observ. Cliente</th></tr></thead> <tbody><tr><td>" + Despacho_Realizadrder_Date + "</td><td>" + Despacho_Realizado.Estimated_Delivery_Date + "</td><td>" + Despacho_Realizado.Customer.Nombre_Cliente + "</td><td>" + Despacho_Realizado.Customer.Razon_Social + "<td>" + Despacho_Realizado.Products.Product.Product_Name + "<br></td><td>" + Despacho_Realizado.Products.Unidad_de_Medida_2 + "<br></td><td>" + Despacho_Realizado.Products.Quantity + "<br></td><td>" + Despacho_Realizado.Products.Unit_Price + "<br></td><td>" + Despacho_Realizado.Products.Total + "<br></td><td>" + Despacho_Realizadbservaciones_del_Cliente + "<br></td></tr></tbody></table>
hope you can help me
regards