Kasuni Abegunawardana

Kasuni Abegunawardana

  • 1.7k
  • 184
  • 58.9k

How an array append

Jul 25 2018 10:56 PM
 
 _reports=[];
 
function setReport() {
_reports.push({
//ID: 12,
Parameters:
[{
Titel: "Financial Year",
Name: "year1",
Type: "dropdown",
func: getYear
},
{
Titel: "Financial month",
Name: "month1",
Type: "dropdown",
func: getMonth
},
]
});
}
 
 
i need to append this and create those dropdown and checkboxes dynamically 
 
thank you. 

Answers (1)