var myids = '';
function passid(){
    onload = function () {
        uidt = tempid.ssid; // some value getting from API
    }
}
passid();
console.log(myids);
Can Anyone help me with this, How to push uitd to var myids so I can be use wherever I want.
 
     
    