| | |
| | | console.info(temp);
|
| | | if(temp.length>0){
|
| | | for(var i=0;i<temp.length;i++){
|
| | | selected+= '<option '+'value='+temp[i].binf.BattGroupName+'>'+temp[i].binf.BattGroupName+'</option>'; |
| | | selected+= '<option '+'value='+i+'>'+temp[i].binf.BattGroupName+'</option>'; |
| | | }
|
| | | return $('#newbattnum').html(selected);
|
| | | }
|
| | |
| | | var arr = temp;
|
| | |
|
| | | function setcookieCreat(i){
|
| | | var index=Math.ceil(i-1);
|
| | | arrdata = temp[index].binf;
|
| | | console.info(temp);
|
| | | console.info(i)
|
| | | //var index=Math.ceil(i-1);
|
| | | arrdata = temp[i].binf;
|
| | | //console.info(index);
|
| | | //console.info(temp);
|
| | | console.info(arrdata);
|