i have navigation with following values...
<a href="#home" id="home" class="goto">Home</a>
<a href="#profile" id="profile" class="goto">Profile</a>
<a href="#account" id="account" class="goto">Account</a>
<a href="#feedback" id="feed" class="goto">Feedback</a><br><br><div id="target"></div>
now i have following function
$(".goto").live("click", funtion(){
var goto = $(this).attr("id");
$.post(goto+".php", {}, function(data){
$("#target").html(data);
});
});
it is working fine but when i hit back on browser it is not doing any thing...while i want on hitting back or forward on browser content should change with above mentioned function...
Please don't divert me to another similar question or page let me know the exact solution