I am trying to work on expanding my knowledge and wanted to tackle something different/outside my comfort area. I'd like to try out a clue game of 3 clues.
What I CAN do is submit the form to the database(PHP) to check if the entry is correct(I'm a php guy).
What I'd like to figure out is how to test that for each clue without having to reload the page.
After it has been determined correct I want an image to change next to it from a temp image to an image representing the clue for example.
This is what I'm trying to do in image form and below are my questions.
- The lanugage to check the database is AJAX, correct?
- What would change the image or div contents next to the input of clue 1?
- What would have to happen for clue 2 to also have the ability to be checked? A new script for a separate form or is there a reset that doesn't bother the previous entry?
Does anyone know of something like this or similar I can view as a reference(or jsfiddle)?