Title: onComplete:function ?
Last modified: August 20, 2016

---

# onComplete:function ?

 *  Resolved [Paul Skip Brown](https://wordpress.org/support/users/paul-skip-brown/)
 * (@paul-skip-brown)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/oncompletefunction/)
 * Hi, I would like to add a class to the
    -  elements based on the contents of the ‘a href’ it contains. I’ve had lots
      of help with suggested JQuery scripts to do this but I can’t get the scripts
      to run after this plug-in has inserted the code. Are there any built-in functions
      that I could use to trigger a script once the plug-in has run? I hope that
      makes sense I am not a coder!
    - [http://wordpress.org/extend/plugins/baw-manual-related-posts/](http://wordpress.org/extend/plugins/baw-manual-related-posts/)

The topic ‘onComplete:function ?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/baw-manual-related-posts_fefdfd.svg)
 * [Manual Related Posts](https://wordpress.org/plugins/baw-manual-related-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/baw-manual-related-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/baw-manual-related-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/baw-manual-related-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/baw-manual-related-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/baw-manual-related-posts/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [Paul Skip Brown](https://wordpress.org/support/users/paul-skip-brown/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/oncompletefunction/)
 * Status: resolved