I have a web application that loads div pages in a div container but when i refresh that page the div goes to the first loaded div. i would like to keep the current selected div even after page is refreshed. Any help will be apricated.
$('ul#nav li a').click(function(){ var page = $(this).attr('href'); var sp = $("#sp").val(); var mo = $("#mo").val(); var ut = $("#ut").val(); $('#main-content').load(''+ page +'.php', {sp: sp,ut: ut,mo: mo}); return false; });
location.reload();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)