Kasuni Abegunawardana

Kasuni Abegunawardana

  • NA
  • 211
  • 121.6k

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)