I'm creating wizard using javascript and jquery and I'm facing a problem I need to move the wizard from 1st tab to second tab after the successful completion of the first tab and its not working my current code is like given below
<div main>
<div id="tab1">
.......
</div>
<div id="tab2">
.....
</div>
</div>
and I tried the following code for navigation on button click
window.location.href = "#tab2";
but its not working how can I solve this ???