damandeep.singh
31 Oct 2012, 10:17 PM
Hi Guys,
I need a small help in setting the value of a textfield from my localstorage.
I am using Ext.getCmp('text-field-id').setValue(newValue);
I am getting error as :
Uncaught TypeError: Cannot call method 'setValue' of undefined
But I am able to get my value from localstorage if I am checking the same in my console as
console.log(newValue);
Please Help.
Thanks
Damandeep
I need a small help in setting the value of a textfield from my localstorage.
I am using Ext.getCmp('text-field-id').setValue(newValue);
I am getting error as :
Uncaught TypeError: Cannot call method 'setValue' of undefined
But I am able to get my value from localstorage if I am checking the same in my console as
console.log(newValue);
Please Help.
Thanks
Damandeep