Quantcast
Viewing all articles
Browse latest Browse all 8068

How to stroe textfield input values in property file

Hi Friends,

I need to store textfield input values in property file and need to retrive quickly. Could you please help me urgently.

Here below my code:

var datas = mytext.value;
 
        Ti.App.Properties.setString('Number', datas);
 
        var gets = Ti.App.Properties.getString('Number');
 
        alert('Saved Successfully!'+ gets);

Viewing all articles
Browse latest Browse all 8068

Trending Articles