treehouse : what would you like to learn today?
Web Design Web Development iOS Development

how to mantain the state of a page when loaded with jquery

  • hi guys, I wanna know if it's possible to mantain the state of a page when loaded with jquery. I'm using ajax to insert a data into a table and when I insert the data I load all the page with jquery to update the table that I have in the same page, but when I load the page I lost the actual state of the page.

  • Why the need to update the page if you insert data the way you do? Include some code, it's kinda hard to help you othrwise.

  • AntonNiklasson, the scenario of my page it's the following: In my page I have tabs and in each tabs I have submenus one to insert new data and other to view the data that was inserted.

    the code:jsfiddle (http://jsfiddle.net/vanilson/gaps6/ "jsfiddle")