Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript jquery tabs issue

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #31930
    cybershot
    Participant

    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?

    #56073
    Johnnyb
    Member

    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.

    #56034
    clive
    Member

    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!

    #56021
    cybershot
    Participant

    is your dashboard of data for wordpress?

    #56015
    cybershot
    Participant

    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?

    #55853
    clive
    Member

    no cybershot, it’s not for wordpress, it’s in my web application.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.