I'm kinda new with jQuery's AJAX functions. I'm having a problem, this my function, its on a file head\_menu.php, thats is included on the index.php file.

**HTML:**

```
<a class="dock-item" href="index.php"  class="post" id="menu01"><img src="images/home.png" alt="home" /><span>Home</span></a>`
<a class="dock-item" href="index.php"  class="post" id="menu02"><img src="images/home.png" alt="home" /><span>Create Users</span></a> `

```

**JQUERY:**

```
$(document).ready(function() {
    $("#menu01").click(function(event){
        $.post( 
        "index.php",
        { menu: "main.php" },
        this.html(data);
        }

    );
    $("#menu02").click(function(event){
        $.post( 
        "index.php",
        { menu: "create_users.php" },
        this.html(data);
        }

    );
    });

```

I'm just trying to send a post variable menu, to the index.php page to change the sidebar menu, this when we click on Home or Create Users. 
In the index.php I have this.

```
$menu = $_REQUEST['menu'];

```

How do I do this.