Passing a variable from a foreach loop (2 posts)

  1. CherylAJames
    Posted 4 years ago #

    I have a foreach loop that gathers the children of a category and outputs them into a

      list. The links trigger a jquery tab script.

      The tabs aspect works, it passing the right variable to the jquery.

      How do I pass that variable to the content area so that the correct info is displayed?

      Here's my code:

      [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

      Thanks. The Tabs are working. If I put separate queries for each tab, then I am successful.

  2. CherylAJames
    Posted 4 years ago #

    From the pasted code it looks like I don't have my first LI closed, it is. For some reason it didn't transfer over.

Topic Closed

This topic has been closed to new replies.

About this Topic