react js onclick call two functions
<a href="#" onClick={() => { func1(); func2();}}>Test Link</a>
react js onclick call two functions
<a href="#" onClick={() => { func1(); func2();}}>Test Link</a>
onclick multiple functions react
class Test extends React.Component {
onClick(event) {
func1();
func2();
}
render() {
return (
<a href="#" onClick={this.onClick}>Test Link</a>
);
}
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us