0
function testTask06()
{
var cipherText = document.getElementById('cipherTextBox').value;
var indexCharacter = document.getElementById('indexCharacterTextBox').value;
document.getElementById('plainTextBox').value = (decryptMessage(cipherText, indexCharacter, plainArray, cipherArray));
}
我想從文本稱爲「cipherTextBox」和'indexCharacterTextBox的價值觀,然後在我的功能decryptMessage使用這些值,然後顯示結果的文本框「plainTextBox」。它不工作,但我想知道是否因爲我的函數decryptMessage是錯誤的。從文本框中訪問數據
是的,它看起來像你的功能是錯誤的。你可以請發表嗎? – Ryan 2011-05-22 17:25:07