Cómo resolver "Error de tiempo de ejecución de Microsoft JScript: '[Nombre del método]' no está definido"
Aquí está mi código:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebClient._Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript" src="Scripts/jquery-1.4.1.min.js" />
<script type="text/javascript" language="javascript">
var count = 0;
function Start()
{
setInterval("ReadNotification()", 1000);
}
function ReadNotification()
{
alert(++count);
}
</script>
</head>
<body onload="return Start();">
</body>
</html>
Acabo de ejecutar este código y recibí un error clásico:
Microsoft JScript runtime error: 'Start' is undefined
No sé por qué, porque realmente definí este método. Como puedó resolver esté problema
Muchas gracias