Submitting Custom Options without Refresh
-
Hi,
I’ve created a tab based options page for a WordPress theme I’m making, and it all works fine. However, it would be quite nice for the form to submit and stay on the same tab, as this could get quite annoying.There are two ways I’ve though of doing this:
- Store the tab name/id as a query string, and then read it and open that tab on page load. The problem with this is it requires me to edit JS, which I’m not good at. Also, I’m not sure how to add the tab ID as a query string when the form is submitted.
- Stop the page refreshing, presumably using AJAX. Not really sure how to do this, but presumably I’d use jQuery to submit the form.
Any help is much appreciated!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Submitting Custom Options without Refresh’ is closed to new replies.