Hi,
after I changed my html page like you suggested, I still get the error
"MyDemo undefined".
Here the html output:
<html>
<head>
<title>Untitled Page</title>
<script type="text/javascript">
function getServerTime()
{
MyDemo.Test.GetServerTime(getServerTime_Callback);
}
function getServerTime_Callback(res)
{
alert(res.value);
}
</script>
</head>
<body>
<form name="form1" method="post" action="test.aspx" id="form1">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"
value="/wEPDwUJNzM2NTgwNzkyZGT9B8t+VTOtUi8QipFBaaUVglZayA==" />
</div>
</form>
<script type="text/javascript">
setTimeout(getServerTime, 1);
</script>
</body>
</html>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at
http://www.ajaxpro.info/
Don't forget to read my blog at http://weblogs.asp.net/mschwarz/
-~----------~----~----~----~------~----~------~--~---