I have a page with a div in it with an an id centeredmenu. When the page first loads it has a menu inside the div with 10 options. each one of these options has a different named id such as menu2, menu3 and so on with a blank href link. On inital load i can change to any menu, once this has completed i cannot select any other menu and change the content of the div again with the new menu
my script for this is
<script type="text/javascript">
$(document).ready(function(){
$("#menu2").click(function(){
$('#centeredmenu').load('menu2.php');
});
$("#menu3").click(function(){
$('#centeredmenu').load('menu3.php');
});
$("#menu4").click(function(){
$('#centeredmenu').load('menu4.php');
});
$("#menu5").click(function(){
$('#centeredmenu').load('menu5.php');
});
$("#menu6").click(function(){
$('#centeredmenu').load('menu6.php');
});
$("#menu7").click(function(){
$('#centeredmenu').load('menu7.php');
});
$("#menu8").click(function(){
$('#centeredmenu').load('menu8.php');
});
$("#menu9").click(function(){
$('#centeredmenu').load('menu9.php');
});
$("#menu10").click(function(){
$('#centeredmenu').load('menu10.php');
});
$("#menu11").click(function(){
$('#centeredmenu').load('menu11.php');
});
});
</script>
So i first load the page and select say menu3 which then loads menu3 fine, all sunsequent menus will then not load unless i refresh the page and go back to the start again and select the other menu i want. Your help is greatly appreciated P