RES.21G-01 | Spring 2010 | Undergraduate

Kana

Hiragana Review Quiz: "a" - "n"

Hiragana Review Quiz: "a" - "n"

function MM_callJS(jsStr) { //v2.0 return eval(jsStr) } function MM_changeProp(objId,x,theProp,theValue) { //v9.0 var obj = null; with (document){ if (getElementById) obj = getElementById(objId); } if (obj){ if (theValue == true || theValue == false) eval(“obj.style."+theProp+"="+theValue); else eval(“obj.style."+theProp+"=’"+theValue+”’”); } } function validateform() { var correctAnswer = 2; if (document.question.answers[correctAnswer].checked == true) { //alert(‘correct’); MM_changeProp(‘wrong’,’’,‘visibility’,‘hidden’); MM_changeProp(‘correct’,’’,‘visibility’,‘visible’); } else { //alert(‘wrong’); MM_changeProp(‘wrong’,’’,‘visibility’,‘visible’); MM_changeProp(‘correct’,’’,‘visibility’,‘hidden’); } }

#wrong, #correct { visibility: hidden; }

Question #10

ki
wa
ma
mo

Yes, that’s right! On to the next question.

Sorry, try again!

[Home]

Learning Resource Types
Activity Assignments