C
ceolino
Hi all.
I have a simple default.aspx file where I declare a JavaScript
function:
<script type="text/javascript" language="JavaScript">
....
function rotate() {
....
}
</script>
</head>
and, after that, I insert
<body ID="body1" runat="server">.
So, this is my problem: why does the validator tell me that "body1 is
not a member of _default" (error BC30456) if in default.aspx.vb I write
the following statement?
Me.body1.Attributes.Add("onLoad", "rotate()")
What I am trying to do is to call "rotate" function on body load..can
anyone help me?
Thanks in advance!!
I have a simple default.aspx file where I declare a JavaScript
function:
<script type="text/javascript" language="JavaScript">
....
function rotate() {
....
}
</script>
</head>
and, after that, I insert
<body ID="body1" runat="server">.
So, this is my problem: why does the validator tell me that "body1 is
not a member of _default" (error BC30456) if in default.aspx.vb I write
the following statement?
Me.body1.Attributes.Add("onLoad", "rotate()")
What I am trying to do is to call "rotate" function on body load..can
anyone help me?
Thanks in advance!!