- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘JavaScript’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › jquery tabs issue
I am using jquery tabs in wordpress
$(function() {
$( "#tabs" ).tabs();
});
it is working fine. My issue is that I am using a form inside the tabs and when I press the submit button and the page refreshes, it moves the page back to the home tab. I want to keep it on the tab they are on. Any ideas?
You could use ajax to submit the form, that way you don’t have a page refresh and the tab would stay as it is.
I used the jQuery tabs to create a dashboard of data, the issue is when an ajax request is made and the data it returns is displayed, the height of the tab doesn’t resize to accommodate the new data therefore causing the tab content to overflow from the tab.
would appreciate any ideas to solve this problem. thanks!
is your dashboard of data for wordpress?
does anyone know how to get ajax working in wordpress? I have a test form all set up but I have not been able to get submission working. I saw some code but the explanation wasn’t enough so it was to difficult. Anyone know of a simple example?
no cybershot, it’s not for wordpress, it’s in my web application.