— Maybe don't use xampp?
Guys, lets said i have a list of menu created from JSON, and when i click one of the list, it will open a new page based on id and name of the list i clicked.how to pass data from the list of menu to the new page?
— Many ways
— LocalStorage, cookies, GET params
— You could have the links in the menu point to:newpage.html?data=4
— That way the data will be safely stored in the URL
— Well no other solution beside use url links?
— I just showed the last example
— You could even asynchronously load the next page, that would remove the need to keep state
— Wait wait, so beside url=? i need to use the method that save the data to client's platform.