Okay,
So I want to refresh 2 divs with ONLY 1 CLICK OF 1 BUTTON without actually refreshing the page itself.

I've tried the following

HTML:

```
<div id="main">
    <a>
        <div id="dialogue" class="dialogue">
            <b class="dialogue">Click to continue</b>
        </div>
    </a>
</div>

```

Jquery:

```
<script>
$(document).ready(function() { /// Wait till page is loaded

    $('#dialogue').click(function(){

        $('#main').load('dialogue.php?test&count=<?php echo $count ?>', function() {
            /// can add another function here
        });

    });

    $('.dialogue').click(function(){

        $('#head').load('dialogue.php?head', function() {
            /// can add another function here
        });

    });
});
</script>

```

This in the HTML: `<div id="dialogue" class="dialogue">`
needs to activate 2 div refreshes, I did this so i can hook two things up.
The following scripts just bugs out and can only refresh itself once instead of a couple of times, please help.