jQuery conflict with Q and A Plugin
-
I have the plugin Q and A which uses jQuery to open up a question and reveal the answer. Works great until I added some new code to the FOOTER of my wordpress site.
<script type="text/javascript"> jQuery('body').html( function(i,h){ return i.replace(/(StrongFirst)/g,'<span class="strongfirst">$1?</span>'); }); </script>
This looks for any instance of the name StrongFirst (the company name) and applies a style to it. Works great on its own as well.
With both of them active the Q and A plugin when you click a question will open and then immediately close right away (as opposed to staying open like it should). When I remove this code it works great.
Is this a conflict with jQuery or something?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘jQuery conflict with Q and A Plugin’ is closed to new replies.