Underscore problem

Underscore problem

Hi!

I have the following codes:
$("#Answers[0]_AnswerDescription").val("Teste");
document.getElementById("Answers[0]_AnswerDescription").value = Teste";


The Jquery code doesn't work, the js one does.
Anyone know why?

Many thanks!