Accessing data from text box
<pre><code>function testTask06()
{
    var cipherText = document.getElementById('cipherTextBox').value;
    var indexCharacter = document.getElementById('indexCharacterTextBox').value;
    document.getElementById('plainTextBox').value = (decryptMessage(cipherText, indexCharacter, plainArray, cipherArray));
}
</code></pre>

<p>I want to get values from textbox called 'cipherTextBox' and 'indexCharacterTextBox', then use those values in my function decryptMessage and then display result in textbox 'plainTextBox'. It doesnt work but i'm wondering if it's because my function decryptMessage is wrong.</p>
