These pages would be used in a panel alternativelly, and I would like to switch the pages displayed in the panel using a button.
I do not want to use card layouts. I just want to switch and show a page as asked by the user.
I have a class, using jQuery that already load the pages and store their content in an array. So I have an array that stores the content of the pages. I just want to switch the content of a panel using the pages stored in this array.
I could not find an example similar
Can you help and show the better directions.