function submitQuestion() { var question = document.getElementById("questionText2"); document.location = 'http://answers.edmunds.com/AskQuestion.aspx?question=' + escape(question.value); } function updateCharCount2() { questionTextBox = document.getElementById("questionText2"); var questionHelp = document.getElementById("questionHelp"); questionHelp.style.display = 'none'; maxCharacters = 115; count = questionTextBox.value.length; var charactersLeft = maxCharacters - count; if (charactersLeft < 0) { charactersLeft = 0; } document.getElementById("characterCount2").innerHTML = charactersLeft; if (count >= maxCharacters) { questionTextBox.value = questionTextBox.value.substring(0, maxCharacters - 1); } } function focusTextarea() { var questionTextBox = document.getElementById("questionText2"); var questionHelp = document.getElementById("questionHelp"); questionHelp.style.display = 'none'; questionTextBox.value = ''; questionTextBox.focus(); } var html = ''; html += '
' + '
' + '
' + '
' + ' ' + '
' + ' ' + ' ' + '

115 characters maximum in this box

' + ' Ask Question' + '
Enter your question here
(Provide question details in the next step)
' + '
' + '
' + '
' + '
' + '
' document.writeln(html);