jQuery .load and WP function
<p>I am attempting to get the <a href="http://www.techytalk.info/quick-chat/" rel="nofollow">Quick Chat WordPress plugin</a> to load only if you click on a button.</p>

<p>I'm currently using this code:</p>

<pre><code>$('#chat').load('path to my wp template/quick-chat.php');
</code></pre>

<p>... where the file 'quick-chat.php' has a WordPress function that calls Quick Chat. When the file loads, however, it's not recognizing the function. It's acting like it was outside of WordPress.</p>

<p>Any ideas?</p>
