Hi, I have open another window using var list_tab_view = require('tab1_continue').Apptablelistscreen; new list_tab_view().open();
now i want to return to previous window on click clicklistner of button i have used code below
Home.addEventListener('click',function(e) {
var list_tab_view = require('screen3').screen3main;
new list_tab_view().open();
});
it gives error i.e
Message: Uncaught TypeError: object is not a function [ERROR][TiJSError( 690)] (main) [1,54620] - Source: new list_tab_view().open();
can u help i have also tried to use
var tabGroup = Ti.App.tbGrp;
tbGroup.tabs[1].active = true;
tabGroup.open();
it gives undefined tabs ..
plz help
Your Answer
Think you can help? Login to answer this question!