I have the following button with event attached:
<button className="pull-right btn btn-success" onClick={this.onNextStep}>Next</button>
OnNextStep:
onNextStep: function (e) {
...
}
How do I get the button name inside onNextStep?
e.target.value is not working
And how do I change it?