Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

How to populate selected dropdown value to other event in angular 4?

.ts file: my typescript is like this but i am not able to make its dropname into other method.

SelectedAccount(Id: number) {
    debugger
    this.inLoading = true;
    this._journalvoucherService.get(Global.BASE_ACCOUNT_ENDPOINT + '?Id=' + Id)
    //this._journalvoucherService.getAccounts()
        .subscribe(LV => {
            debugger
            this.accountledger = LV; 
            this.inLoading = false;
        },
        error => this.msg = <any>error);
}

Comments