Currently, I am new to AJAX coding and still trying to familiarize myself with it. I have managed to create an AJAX multi-page form where each "new" page is contained within divs in HTML. The CSS is responsible for the styling, and there is some JavaScript code to handle their proper display.
The initial page of my form is simple, asking for name/age and a 'next' button. Now, I am facing a challenge in creating another page that includes four small images from which the user can pick only one. I have inserted the small thumbnails into the HTML div to get started but encountered difficulties in linking them to the JavaScript. The requirement is that only one image can be selected before the user can proceed by hitting 'continue.'
Any guidance on how to achieve this would be greatly appreciated!