Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript [Solved] Jquery switch view modes without refresh Re: [Solved] Jquery switch view modes without refresh

#64039
gno
Member

jama_za is spot on. That is the smartest way to do it.

Alternatively you could store it in two separate files, and load the content into your div on click on your anchor link. However, that would be less desireable.

The site you linked to refreshes the whole page when you change between the two views. At least here :-)