Title: jQuery(document).ready(function($)
Last modified: December 8, 2023

---

# jQuery(document).ready(function($)

 *  Resolved [charliez4rd](https://wordpress.org/support/users/charliez4rd/)
 * (@charliez4rd)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/jquerydocument-readyfunction/)
 * Hi so after purging some caches on my site, banner stopped showing and i have
   this line of code visible on the bottom of the website for no apparent reason:
 * jQuery(document).ready(function($) { $(‘.cmplz-link.privacy-statement’).attr(‘
   href’, ‘[https://store.oncoturn.eu/index.php/terms-and-conditions/&#8217](https://store.oncoturn.eu/index.php/terms-and-conditions/&#8217););});
 * Any help would be appreciated.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjquerydocument-readyfunction%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/jquerydocument-readyfunction/#post-17291759)
 * [@charliez4rd](https://wordpress.org/support/users/charliez4rd/) This looks like
   a custom script snippet, to override the default privacy policy in Complianz,
   and replace it with the Terms & Conditions link.
 * I would look for this code in your theme customizations, or in a mu-plugin.
 * You can always download the files to your computer, then do a file search for
   this string.
 * Complianz does not use jquery on the front-end, so it’s not from the plugin itself.
 * I just checked your site, and noted the banner loads as expected. Please also
   check in a private browser, or different browser, to see if that makes a difference.

Viewing 1 replies (of 1 total)

The topic ‘jQuery(document).ready(function($)’ is closed to new replies.

 * ![](https://ps.w.org/complianz-terms-conditions/assets/icon-256x256.png?rev=2900489)
 * [Complianz - Terms and Conditions](https://wordpress.org/plugins/complianz-terms-conditions/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/complianz-terms-conditions/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/complianz-terms-conditions/)
 * [Active Topics](https://wordpress.org/support/plugin/complianz-terms-conditions/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/complianz-terms-conditions/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/complianz-terms-conditions/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/jquerydocument-readyfunction/#post-17291759)
 * Status: resolved