php - Show tab without refreshing whole page -


i have following code in php page. these 2 tabs inbox , sinbox. when user clicks on them refreshes whole page go other tab. there way make these tabs when user click on 1 of tab there no page refresh? when answering please provide full code example beginner.

 <ul id="toptabs">         <li class="selected"><a href="acc/inbox"> inbox </a></li>     <li><a href="acc/sinbox"> sinbox </a></li>  </ul> 

one of simplest ways using jquery ui tabs. can find nice detailed beginner-friendly tutorial here.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -