// Data-link people to the details container, using the personTmpl template $.link.personTmpl1( "#details1", people ); $.link.personTmpl2( "#details2", people ); // Observable array change: insert two new people at index 1 $( "#insertPerson" ).on( "click", function() { $.observable( people ).insert( 1, // index 1 [ // add two new people { firstName: "NewPerson" }, { firstName: "NewPerson2" } ]); });