Title: Clicking OK does nothing
Last modified: August 10, 2018

---

# Clicking OK does nothing

 *  Resolved [mortetm](https://wordpress.org/support/users/mortetm/)
 * (@mortetm)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/clicking-ok-does-nothing/)
 * Clicking on the accept button doesn’t do anything – it just adds # to the URL.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fclicking-ok-does-nothing%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * (@webtoffee)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/clicking-ok-does-nothing/#post-10583715)
 * Hi [@mortetm](https://wordpress.org/support/users/mortetm/),
 * Please mention if you are using any cache plugin on your website. If it is a 
   free plugin, please share the link of the plugin, else if you are using a premium
   plugin, please reach out to us by creating a ticket [here](https://www.webtoffee.com/product/gdpr-cookie-consent/).
 *  [jeannerrr](https://wordpress.org/support/users/jeannerrr/)
 * (@jeannerrr)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/clicking-ok-does-nothing/#post-10601510)
 * I’m having the same issue on the iPhone and on the desktop. When I click “accept”
   the bar doesn’t disappear. I’m using a cache plugin and have tried clearing it.
 * Do you know what’s happening?
 * Thanks!
    JR
 *  Plugin Author [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * (@webtoffee)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/clicking-ok-does-nothing/#post-10601805)
 * Hi [@jeannerrr](https://wordpress.org/support/users/jeannerrr/),
 * Please mention which cache plugin you are using on your website. And please also
   mention the URL of the website you are having the issue with.
 *  [Stagger Lee](https://wordpress.org/support/users/stagger-lee/)
 * (@stagger-lee)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/clicking-ok-does-nothing/#post-10603209)
 * I have the same problem. No cache plugin, no console errors. Is it correct ?
 * `<a href="#" id="cookie_action_close_header"`
    -  This reply was modified 7 years, 8 months ago by [Stagger Lee](https://wordpress.org/support/users/stagger-lee/).
 *  [Stagger Lee](https://wordpress.org/support/users/stagger-lee/)
 * (@stagger-lee)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/clicking-ok-does-nothing/#post-10603257)
 * OK, I switched to pure buttons and it works. I tried to adapt buttons to Bootstrap
   design and have a bit mouseover hover effect. But not so big deal.
 *  [jeannerrr](https://wordpress.org/support/users/jeannerrr/)
 * (@jeannerrr)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/clicking-ok-does-nothing/#post-10607292)
 * Hi [@webtoffee](https://wordpress.org/support/users/webtoffee/),
 * I’m using SG Optimizer for my cache plugin and our website is: [http://www.pacmin.com](http://www.pacmin.com).
 * I have other plugins installed too so I’m listing out the ones that might affect
   caching just in case.
    JCH Optimize reSmush.it Image Optimizer
 * Thanks!
    JR
 *  Plugin Author [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * (@webtoffee)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/clicking-ok-does-nothing/#post-10609119)
 * Hi [@jeannerrr](https://wordpress.org/support/users/jeannerrr/),
 * We have checked on your website and the cookie bar disappeared on clicking the
   Accept button. See the [screenshot](https://prnt.sc/kl335k).
 * However, could you please add the Javascript files of the Cookie Law Info plugin
   under the Exclude Options tab in JCH Optimize plugin. Let us know of the results.
   If the issue still persists, please create a ticket in our [premium support desk](https://www.webtoffee.com/product/gdpr-cookie-consent/).
 *  [jeannerrr](https://wordpress.org/support/users/jeannerrr/)
 * (@jeannerrr)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/clicking-ok-does-nothing/#post-10611444)
 * It’s still not disappearing for me. I also just realized I’ve been using “private
   mode” and “incognito” mode on my browser. Do you think this could have an effect?
 * I had changed the Cookie Law settings to auto-hide if user scrolls and auto-hide
   after 5 seconds to work around the bar not closing after hitting accept. I took
   off these settings and tried again and the bar did not close in private mode.
   I tried opening a normal browser. The bar doesn’t go away on click… but it did
   disappear after awhile. So I’m not sure if it’s really fixed or not.
 * I’ll submit a ticket through your support desk as requested.
 * Thanks!
    JR
 *  [sardonumsi](https://wordpress.org/support/users/sardonumsi/)
 * (@sardonumsi)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/clicking-ok-does-nothing/#post-10613188)
 * In case it worth, i had the same problem and a wp fastest cache installed was
   the problem, i deactivate in cache plugin the option “Combine Js to reduce …”,
   then i cleared de cache and the button starts working again.

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

The topic ‘Clicking OK does nothing’ is closed to new replies.

 * ![](https://ps.w.org/cookie-law-info/assets/icon.svg?rev=3007243)
 * [CookieYes – Cookie Banner for Cookie Consent (Easy to setup GDPR/CCPA Compliant Cookie Notice)](https://wordpress.org/plugins/cookie-law-info/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cookie-law-info/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cookie-law-info/)
 * [Active Topics](https://wordpress.org/support/plugin/cookie-law-info/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cookie-law-info/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cookie-law-info/reviews/)

 * 9 replies
 * 5 participants
 * Last reply from: [sardonumsi](https://wordpress.org/support/users/sardonumsi/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/clicking-ok-does-nothing/#post-10613188)
 * Status: resolved