javascript - Changing object in Array -


var tab = new auitab({   element: document.getelementbyid("footer"),   index: 1,   repeatclick: false }, function(ret) {   if (ret.index == 1) {     bottomnav1();   }   if (ret.index == 2) {     var login_name = $api.getstorage('mobile');      if (typeof(login_name) != "undefined") {       profile();     } else {       login();       auitab.index = 1;     }   } }); 

i want change index value in array. can see, tried updating using auitab.index = 1 , tab = 1 (one of them should've worked according google). both did not work - new programming. there not aware of?


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -