Alternative of this script in jQuery?
<p>I use the following script to get the content of the <code>remaining.php</code>.
<br>
The drawback is that sometimes it doesn't work or it is kinda slow to display the text. Is there any other way of doing this ?</p>

<p>Thank you</p>

<pre><code>$(document).ready(function(){
    $("#SubmitButton").click(function (){
        $('#remaining').load('remaining.php');
    });
});
</code></pre>
