I would like to know in jQuery if I click a button how can I make it activate another button on the same page?
jQuery Click Button Activates Another Button was last modified: June 16th, 2017 by
1 Answers
Best Answer
Sure just set up your buttons like this.
<button id="foo">Button One</button>
<button id="boo">Button Two</button>
<script type="text/javascript">$(function () {
$("#foo").on("click", function () {
$("#boo").click()
});});</script>
Answer for jQuery Click Button Activates Another Button was last modified: June 16th, 2017 by