Click to See Complete Forum and Search --> : xml question
slash_215
Jan 4th, 2003, 09:40 AM
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.
MartinLiss
Jan 4th, 2003, 05:35 PM
You could probably add an <Answer> Element as a child of the question.
slash_215
Jan 6th, 2003, 04:17 PM
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:
goatsucker
Jan 7th, 2003, 10:25 AM
What about using a javascript function to blank out the two wrong answers.
slash_215
Jan 7th, 2003, 11:53 AM
yeah. worth another go i guess. might get it right this time... maybe :-D
thanks
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.