-
xml question
hi all. im trying to make a multiple choice quiz using xml. the way im going about it is storing the info (questions and answers) in an xml page (quiz.xml) and then using a html page to display it.
im having trouble simply getting the darn thing to record the answetr given. if anyone could shed some light on this id appreciate it.
-
You could probably add an <Answer> Element as a child of the question.
-
ok. ive tried all sorts of stuff now but i still cant get anything to work. :(
i can't get the quiz to pick up the answer the user has selected, and i also need to make it so that the correct answer and one incorrect answer is left behind, by the click of a button.
i have no idea how to go about this. ive been searching the web for ages but i haevent found anything that helps me too do it :( :confused:
-
What about using a javascript function to blank out the two wrong answers.
-
yeah. worth another go i guess. might get it right this time... maybe :-D
thanks