|
 |
aspdotnet_website_programming thread: Fix For Runtime Error in ShowNews.aspx
Message #1 by "Claude Wynne" <claudew@i...> on Fri, 16 Aug 2002 15:02:23 -0700
|
|
Using Internet Explorer, there is a Runtime error, "Expected
identifier", in the javascript in ShowNews.aspx. The offending code is
(2nd line):
function __doPostBack(eventTarget, eventArgument) {
var theform = document.default;
Changing the form name from "default" to "ShowNews" fixes the problem:
<form id="ShowNews" runat="server">
That changes the javascript to:
function __doPostBack(eventTarget, eventArgument) {
var theform = document.ShowNews;
Message #2 by "mark hoskins" <dynst@x...> on Wed, 28 Aug 2002 22:45:28
|
|
> Using Internet Explorer, there is a Runtime error, "Expected
identifier", in the javascript in ShowNews.aspx. The offending code is
(2nd line):
function __doPostBack(eventTarget, eventArgument) {
var theform = document.default;
Changing the form name from "default" to "ShowNews" fixes the problem:
<form id="ShowNews" runat="server">
That changes the javascript to:
function __doPostBack(eventTarget, eventArgument) {
var theform = document.ShowNews;
THANKS!!!! I was wondering what that was about, just started to take a
crack at it when i saw this.
:)
|
|
 |