Title: Askfirst function doesn&#039;t appear to be working
Last modified: August 21, 2016

---

# Askfirst function doesn't appear to be working

 *  [zekingpo](https://wordpress.org/support/users/zekingpo/)
 * (@zekingpo)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/askfirst-function-doesnt-appear-to-be-working/)
 * Hi,
 * I was experimenting with the plugin and trying to create and delete levels. Creating
   levels works prefectly but I noticed that when I tried to delete one, the Javascript
   function (askfirst) that is being called where the confirmation message should
   be displayed wouldn’t display anything (except for the link in the status bar
   at the bottom).
 * I tried it in Chrome and Explorer without any luck.
 * The only way I got it to work was by copying the link contained in the JS call
   and paste only the portion that would actually be deleting my level in the address
   bar.
 * I noticed that the function is referred to in 3 pages in your plugin :
    discountcodes.
   php membershiplevels.php orders.php
 * Just thought I’d let you know…
 * [https://wordpress.org/plugins/paid-memberships-pro/](https://wordpress.org/plugins/paid-memberships-pro/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [zekingpo](https://wordpress.org/support/users/zekingpo/)
 * (@zekingpo)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/askfirst-function-doesnt-appear-to-be-working/#post-5086012)
 * As this issue been reported and documented to be implemented in future updates?
 *  [Jessica Oros](https://wordpress.org/support/users/jessica-o/)
 * (@jessica-o)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/askfirst-function-doesnt-appear-to-be-working/#post-5086022)
 * Thanks for the heads up. Not sure what’s causing this issue on your setup but
   it is most likely something interfering with that JavaScript. If you want, we
   can take a look at your site if you sign as a P[MPro member for our member support forums](http://www.paidmembershipspro.com/pricing/).
 * Thanks,
    Jess

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Askfirst function doesn't appear to be working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/paid-memberships-pro_f1dacb.svg)
 * [Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions](https://wordpress.org/plugins/paid-memberships-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/paid-memberships-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/paid-memberships-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/paid-memberships-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/paid-memberships-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/paid-memberships-pro/reviews/)

## Tags

 * [delete](https://wordpress.org/support/topic-tag/delete/)
 * [function](https://wordpress.org/support/topic-tag/function/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [js](https://wordpress.org/support/topic-tag/js/)
 * [levels](https://wordpress.org/support/topic-tag/levels/)
 * [not workin](https://wordpress.org/support/topic-tag/not-workin/)
 * [Paid Membership Pro](https://wordpress.org/support/topic-tag/paid-membership-pro/)
 * [pmpro](https://wordpress.org/support/topic-tag/pmpro/)
 * [problem](https://wordpress.org/support/topic-tag/problem/)

 * 2 replies
 * 2 participants
 * Last reply from: [Jessica Oros](https://wordpress.org/support/users/jessica-o/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/askfirst-function-doesnt-appear-to-be-working/#post-5086022)
 * Status: not resolved