Hi guys, I have information tabs on my website. I can open any tab on a particular page by appending "?theTab=3" for example to the URL. Is there a way to have a link on these pages that once clicked opens the new link but without a page refresh? Thanks for the help. RJP1
There is a simple technique it can not called ajax because you don't do requests but only use javascript for it. You load the whole content of the tabs but will hide some of the content with style.display = 'none' when you click on particular tab you should change the style of the div tag to style.display = 'block' to show needed content and hide the other one. Changing the style you can use javascript. document.getElementById(elementID).style.display = 'none'; where elementID is html tag ID.