WordPress.org

Ready to get started?Download WordPress

Forums

jquery tabs and simple manipulation (2 posts)

  1. deadpickle
    Member
    Posted 1 year ago #

    I'm trying to implement the jquery example "simple manipulation" into my wordpress plugin. Right now I'm just trying to get it to work before I start rearranging and adding functionality to the original example. For this forum question I have truncated alot of code to only whats needed and I'm sorry but, I cant give a webpage right now since I'm developing this on localhost.

    citools.php (the plugin)
    build_base_tables_script.js (js script containing the simple manipulation)
    citools-index.php (page html)

    So, the issues that I'm have are 1) when I click on the remove icon (the x in the tab) the tab is removed but not the content within <div id="tabs-1"> and 2) when I add a new tab by clicking the button and submitting, the new tab appears but I can not select it and its content is appended to the bottom of the first tab, which is always visible. I hope this makes sense and if it doesnt I can try to post some pictures.

  2. deadpickle
    Member
    Posted 1 year ago #

    the problem was the wordpress 3.4.2 uses jquery 1.7.2 which uses jquery ui 1.8.2. The above code is for jquery ui 1.9.2.

Topic Closed

This topic has been closed to new replies.

About this Topic