AJAX :call a specific function from another page
<p>I have 2 files: </p>

<ol>
<li>user.php and </li>
<li>index.php</li>
</ol>

<p>In <code>index.php</code> I'm creating new user object: <code>user_home</code> and calling <code>user.php</code> </p>

<p>like this and it works:</p>

<pre><code>function showUsers()
$user_home-&gt;showUsers() 
</code></pre>

<p>How to do it with <code>AJAX</code> in objective way, without refreshing a page.</p>