0
I have two arrays months and days.
var meses = new Array("Janeiro","Fevereiro","Marco","Abril","Maio","Junho","Julho","Agosto","Septembro","Outubre","Novembro","Dezembro");
var dias= new Array(31,28,31,30,31,30,31,31,30,31,30,31);
I wanted to make a condition so that for example position 1 (February) would be assigned position 1 of the other array and then print to a table.
right, and now print a table for home month?
– akm
console.log(months['January'])
– Israel Zebulon
yes, but this shows me only 31. I wanted to show every day, with the respective weekdays.
– akm
You want to print type January: every day until the end of the month and so on?
– Israel Zebulon
yes exactly that, print January, with its 31 days, and dps the other months. And show Monday, Tuesday, ...
– akm
you want to do it in what language?
– Israel Zebulon
javascript language
– akm
access this link: http://codigofonte.l.com.br/codigos/combo-calendario-em-javascript
– Israel Zebulon