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

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -