Web Analytics Made Easy -
StatCounter how to close Fancybox from a link inside it - CodingForum

Announcement

Collapse
No announcement yet.

how to close Fancybox from a link inside it

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to close Fancybox from a link inside it

    clicking on a link to a page where I open the popup Fancybox, automatically opening, I include a list of articles with Ajax (code, description). Each item code is linkable.
    When I choose an item number by clicking on one of them, clicked up the code in a field of the calling page below (and this I can do it) but I also want that after the choice, at the same time, the popup Fancybox were closing by itself.
    If I use $. Fancybox.close () returns the error Firebug I $. Fancybox is undefined.
    How can I fix?

  • #2
    Javascript is case sensitive. Did you try $.fancybox.close()?

    Comment


    • #3
      Tried...... $.fancybox.close()...... same.....

      Comment

      Working...
      X
      😀
      🥰
      🤢
      😎
      😡
      👍
      👎