Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7884909
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T04:55:33+00:00 2026-06-03T04:55:33+00:00

I have coded a basic accordian which toggles elements in a form using next

  • 0

I have coded a basic accordian which toggles elements in a form using next and previous buttons. The accordian is working as designed and does not require any editting.
I am now required to fire a a function only once when a a designated accordian pane is displayed. The senario being that the trggered function should only fire once even if a user revisits that pane.

This has me slighlty confused about how to go about doing this using jquerys live event and or visible psuedocode.

Any direction.help would be gladly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T04:55:35+00:00Added an answer on June 3, 2026 at 4:55 am

    I don’t know what your code looks like, but assuming you have some sort of callback for when a panel becomes active, with some sort of reference to a DOM node representing that panel, you could do something like this:

    if(! $(panel).data('initialized') ) {
       // initialize panel
       $(panel).data('initialized', true);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi I have code which sets up a basic client to server scenario and
I have a real basic form (code below) with a bunch of back-panel PhP.
I have a grid view which is populated using a custom ImageAdapter class extending
This is a basic C code, which according to me should have thrown three
I have built a fairly complex form which includes a hidden section that the
I have the basic code to rewrite a subdomain to another page. But how
So I have visual basic code in a classic asp page where I want
Currently, I have some basic code to play a simple tone whenever a button
I have some code to create a basic dialog box with several options -
currently i have jdbc code with the following basic stucture: get Connection (do the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.