sencha touch 2 - How to add values in existing array dynamically in senchatouch2 -


using push() method added values in array,but when add again using push() values added in separate array..how add values in existing array dynamically?kindly provide sample piece of code

declare array globally

var arr = [];

then add values inside array using push() method like,

arr.push(ext.getcmp('id').getvalue());

like can add values in existing array dynamically..


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -