My website requires dynamic content to be loaded on user interaction. When a user clicks certain elements on the page, information should be retrieved from a file located in the same directory as the webpage and displayed in a designated <div>
.
My understanding is that I need to utilize ajax technology with JavaScript for this. My question is: do I need to configure the server specifically to handle ajax requests, or does a simple GET over HTTP request work with any web server?
Furthermore, if ajax functionality relies on proper server configuration, can I achieve my goal with a simple GET request using JavaScript somehow?
If utilizing server-side scripting is easier, how can I accomplish this using VBScript?