I am working on developing a support website for my company. To make this happen, I have chosen to implement an accordion menu that will enable users to choose from a variety of frequently asked questions. Once the user clicks on a FAQ, I would like the webpage to retrieve the corresponding answer from a separate text file located within the directory and display it in a designated div element.
Is there a method to achieve this functionality without utilizing Ajax, PHP, or JQuery? I am comfortable with using Javascript as it is the only programming language I am familiar with.