I'm new in Phonegap app development.
I want to create an array of this type.
var myColumnDefs = [
{id:"id1", name:"name1"},
{id:"id2", name:"name2"},.... ] ;
Please help me how I can do this using javascript.
Because I have to insert data in this coming from webservices.