Results 1 to 2 of 2

Thread: OnVisible Event

  1. #1

    Thread Starter
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Location
    South Louisiana
    Posts
    11,989

    OnVisible Event

    I need an even for when the last fieldset becomes visible as I'm using a step-by-step form that toggles the visibility of the various fieldsets. I have tried:
    Code:
    $("#msform fieldset:last").on('visible', function() {
      alert();
    });
    Using the alert as a test to see if the event would fire, but nothing happens.
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | Code Tags | Sword of Fury - Jameram

  2. #2
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Re: OnVisible Event

    What about using .last() instead ?

    Jquery .Last


    See if the visible event fires...

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width