Many people misunderstand the real difference between GET and POST
One problem with using GET requests with Ajax is that such requests were designed to retrieve static information. This means that some browsers will cache the response from the first request and return that again for the next call. Not a very good way of retrieving a dynamically changing value from the server. There are two ways to fix this problem as this fourteenth Ajax tutorial demonstrates.
Caching of Requests
Collapsing menus when not required saves space on the web page
I wrote my original collapsible menu script some years ago before making JavaScripts unobtrusive became practical. A recent request from someone to have the open menu close when a new one is open prompted me to revisit the script and this complete rewrite is the result. Not only have I converted the original variant of the script to make the JavaScript code completely separate from the HTML but having done so I was then able to easily add an alternative version of the JavaScript that will link the menus together so that you can have only one open at a time.
Unobtrusive Collapsible Menus