- This topic has 1 reply, 1 voice, and was last updated 3 years, 1 month ago by .
I'd like to add a button at the bottom of the page in the WP Admin beneath all the fields in a Tab to switch to the a different tab when clicked.
I've been trying to add it using the html field, and basically just want to pass the click event from the button at the bottom to switch to the next tab (there are only two tabs).
I can get it to switch, but because the event is set to prevent bubbling up, it does not remove the "rwmb-tab-active" class from the tab I'm switching away from.
Also, if I go back to that tab, then my code has added the active panel class to the custom button.
I can see why it isn't working properly, but is anyone able to help me out with the correct callback?
- You must be logged in to reply to this topic.