Results 1 to 4 of 4

Thread: How to implement UI tabs using jQuery

  1. #1
    Join Date
    Nov 2008
    Posts
    73

    How to implement UI tabs using jQuery

    I am using Jquery U.I tabs as a plugin to my site. I've got some three html tables which I wanted to put into tabs, I thought because I am using them as ajax content that after each time a person clicks on the tab that the previous tab is destroyed and not hidden. Lastly, I need to have the option for the user to SEARCH in the 3rd tab and those results (html result) goes into that tab.

  2. #2
    Join Date
    Feb 2008
    Posts
    180

    Re: How to implement UI tabs using jQuery

    When jQuery makes the Ajax request for a tab's contents, that content is not loaded into a separate window the way that it would be with an iframe. This is an example where you could implement your jQuery using the following table format.
    Code:
    <li><a href="ajax/data_a">Title 1</a></li>
    <li><a href="ajax/data_b">Title 2</a></li>
    <li><a href="#tab-3">Search</a></li>

  3. #3
    Join Date
    Dec 2008
    Posts
    161

    Re: How to implement UI tabs using jQuery

    In order to get different menu options in brain_menuframe.jsp, you must have JSP code which checks a request parameter or some input and changes the options using JSP -- right? I have one main page that contains the html tags like <html>, <body> and in this I have all tabs that has links to my Asp.net MVC controller views. So you're saying that the menuframe.jsp file is not re-executing? In my tests, it does, so it isn't simply because you are using iframes.

  4. #4
    Join Date
    Oct 2008
    Posts
    134

    Re: How to implement UI tabs using jQuery

    The syntax for your HTML is actually really similar if you are doing AJAX or non-AJAX. We’re going to have our DIV with the correct ID. The HTML for a tab is replaced when you click the tab a second time. But that won't "replace" any script -- script isn't part of the DOM. Once script is loaded into the page, it's there for the life of the page. We have our URL bulleted list, our UL, and then we have our list items in between. With the LiveQuery plugin, you can detect when the elements coming into being so you can wait to apply the picker behavior until the elements are created.

Similar Threads

  1. Updates with jQuery 1.6.1
    By Vincent D in forum Software Development
    Replies: 5
    Last Post: 23-06-2011, 10:17 PM
  2. New features in jQuery 1.4.3
    By Botan in forum Software Development
    Replies: 6
    Last Post: 03-12-2010, 06:43 AM
  3. Read XML and RSS with jQuery
    By Ground 0 in forum Software Development
    Replies: 3
    Last Post: 27-11-2010, 06:18 AM
  4. How to implement a timer for JQuery?
    By Baazigar in forum Software Development
    Replies: 5
    Last Post: 19-02-2010, 04:41 PM
  5. Manipulate jQuery with PHP
    By Zecho in forum Software Development
    Replies: 5
    Last Post: 16-06-2009, 02:14 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,149,082.79395 seconds with 17 queries