A
avanti
HI,
I have an ASP page with some Javascript code. The JS has several
functions and only some of them work. Here is part of the code:
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server" id="Head1">
<title>Title</title>
<Ctrl:stylesheets id="Css1" runat="server" />
<script language="javascript" type="text/javascript">
function SetSecurityCode()
{
Alert("Hello");
}
</script>
.............
<CoreCtrl:Controls.WebControls.HyperLink id="CodeLink" Text="Set
Value" CssClass="textSmall" OnClick="SetSecurityCode();" Href="#"
runat="server" />
I am seeing Error:Object Expected on the alert line in the JS function.
Some other functions inside the script work as expected.
Any clues?
Thanks,
Avanti
I have an ASP page with some Javascript code. The JS has several
functions and only some of them work. Here is part of the code:
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server" id="Head1">
<title>Title</title>
<Ctrl:stylesheets id="Css1" runat="server" />
<script language="javascript" type="text/javascript">
function SetSecurityCode()
{
Alert("Hello");
}
</script>
.............
<CoreCtrl:Controls.WebControls.HyperLink id="CodeLink" Text="Set
Value" CssClass="textSmall" OnClick="SetSecurityCode();" Href="#"
runat="server" />
I am seeing Error:Object Expected on the alert line in the JS function.
Some other functions inside the script work as expected.
Any clues?
Thanks,
Avanti