I have a button which onclick enables an input element. what I need is first it gets enabled and then focus on that input element.
Here is my Input:
** input type=“text” id=‘destination’ ng-disabled="!locationAccepted" **
along with the normal button
Thanks in advance.