I use the following script to get the content of the `remaining.php`.

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 ?

Thank you

```
$(document).ready(function(){
    $("#SubmitButton").click(function (){
        $('#remaining').load('remaining.php');
    });
});

```