var count=10;
for(var i = 1; i < count; i++)
{
document.write('<tr><td><div class="numbers">'+ i + '.</div></td>');
document.write('<td align="left"><input class="questions" id="text' + i + '" type="text" value="" /></td>');
document.write('<td><select class="answers" id="answ' + i + '"><option value="1" selected="selected">2</option><option value="2">3</option><option value="3">4</option><option value="4">5</option></select></td>');
document.write('<td><select class="unique_answer" id="uniqansw' + i + '"><option value="1" selected="selected">----------</option><option value="2">Единственный ответ</option><option value="3">Несколько вариантов</option></select></td>');
document.write('</td></tr>');
}
for(var k = 1; k < count + 1; k++)
{
var n = "text" + k;
console.log(document.getElementById(n));
}