jQuery problem
THE PROBLEM IS - when I click the "#inactive" id, the "#active-page" disappears but the "#inactive-page" does not appear.
<script>
$(document).ready(function(){
$("#inactive").click(function(){
$(#inactive).attr("id","active-swap");
$("#active").attr("id","inactive");
$("#active-swap").attr("id","active");
$("#active-page").attr("id","inactive-page-swap",function(){
$("#inactive-page").attr("id","active-page");
$("#inactive-page-swap").attr("id","inactive-page");
});
});
});
</script>