<label id="ButtonTestResultLabel" style="color:Black; font-size:large" title="Success" visible=true>Please Press Left Button</label>
<% if scanner.ExecuteButtonTest(sessionid, CInt(1)) then
upbuttonresult = true
end if %>
<% ButtonTestResultLabel.Text = "Please Press Down Button"
if scanner.ExecuteButtonTest(sessionid, CInt(2)) then
downbuttonresult = true
end if %>
Я хочу, чтобы изменить текст надписи, но я получаю сообщение об ошибке:ASP этикетки - изменение текста
Parse error in script
Microsoft VBScript runtime error: '800a01a8'
Description: Object required: 'ButtonTestResultLabel'In file: /prod/buttonstest.asp
On line: 57
Как я могу изменить текст метки?
Спасибо! Это сработало! – janneob