Title: jQuery open() and close() returning errors
Last modified: August 30, 2016

---

# jQuery open() and close() returning errors

 *  Resolved [craigdutoit](https://wordpress.org/support/users/craigdutoit/)
 * (@craigdutoit)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/jquery-open-and-close-returning-errors/)
 * Hi There,
 * Trying to create a function that calls a popmake open() event when the site loads,
   and I am currently getting a “Cannot read property ‘meta’ of undefined” error.
 * the jQuery I am using is as follows:
 *  jQuery(‘.popmake-register’).popmake(‘open’);
 * Note: I have tried this using the ID of the popup as well… hitting the same issue.
 * If you could advise me on how to fix this, I would appreciate it greatly.
 * [https://wordpress.org/plugins/popup-maker/](https://wordpress.org/plugins/popup-maker/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/jquery-open-and-close-returning-errors/#post-6557081)
 * [@craigdutoit](https://wordpress.org/support/users/craigdutoit/) – Do you have
   a link, sounds like something is missing from the popups code. The meta is likely
   not been added for some reason. If I can look at it I can likely narrow it down.

Viewing 1 replies (of 1 total)

The topic ‘jQuery open() and close() returning errors’ is closed to new replies.

 * ![](https://ps.w.org/popup-maker/assets/icon-256x256.gif?rev=3097653)
 * [Popup Maker - Boost Sales, Conversions, Optins, Subscribers with the Ultimate WP Popup Builder](https://wordpress.org/plugins/popup-maker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/popup-maker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/popup-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/popup-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/popup-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/popup-maker/reviews/)

## Tags

 * [close](https://wordpress.org/support/topic-tag/close/)
 * [function](https://wordpress.org/support/topic-tag/function/)
 * [jquery](https://wordpress.org/support/topic-tag/jquery/)

 * 1 reply
 * 2 participants
 * Last reply from: [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/jquery-open-and-close-returning-errors/#post-6557081)
 * Status: resolved