Так что у меня есть Hiddenfield :
Код: Выделить всё
< /code>
и в моем Javascript: < /p>
function test2() {
document.getElementById("").value = "nice";
alert(document.getElementById("").value);
}
< /code>
Но консоль говорит: < /p>
JavaScript.js:76 Uncaught TypeError: Cannot set properties of null (setting 'value')
at test2.
Подробнее здесь: https://stackoverflow.com/questions/782 ... ode-behind
Мобильная версия