I have a panel with Id="panelbar" , and when I click on it, I have a function
$('#panelbar').bind('click', func1);
in func1(): I have this Code:
location.hash;
but , the code returns the previous hash, not new one. how can I get the new hash in each click?