I dont why this simple thing doesnt work.

please help me.

<http://jsfiddle.net/VYqdt/>

```
function showDivs(activediv) {
    $("#tabs > div").hide();
    $(activediv).show();
}

//while activediv is a 
    showDivs($(this).attr("href"));

```