Forum: ASP.NET Jun 13th, 2008 |
| Replies: 2 Views: 1,013 I solved the problem meanwhile. I replaced
txtMessage.value = sMessage; /* raises Page Error */
by
window.Form1.txtMessage.value = sMessage; /* works */ |
Forum: ASP.NET Jun 13th, 2008 |
| Replies: 2 Views: 1,013 I enabled "detect scripterrors" in the browser. The message is:
'txtMessage' is not defined.
I moved the <script> element behind the <body> element. But this page error is still raised. |
Forum: ASP.NET Jun 13th, 2008 |
| Replies: 2 Views: 1,013 The following script function "btnRunScript_onclick" works as long as it does not access the HTML control "txtMessage". If it does, "Page Error" is shown in the statusbar of Internet Explorer (6).... |