Posts by Danilo Santos • 109 points
2 posts
-
0
votes2
answers238
viewsA: How to pass values to an array after clicking on Submit
<p> Produto 1: <input type="hidden" name="produto[]" value='1' ></p> <p> Produto 2: <input type="hidden" name="produto[] value='2'></p> <p> Produto…
-
0
votes12
answers208289
viewsA: How to format date in Javascript?
console.log( (new Date()).toISOString().match(/^[0-9]{4}\-[0-9]{2}\-[0-9]{2}/)[0].split('-').reverse().join('/') ) …