TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
sumit jadhav
NA
139
3.4k
JavaScript Error : is null or not an object
Mar 24 2011 2:30 AM
Ajax Page method working fine In other project. But when i am going to implement it in my code and i add
<asp:ScriptManager ID="ScriptManager1" EnablePageMethods ="true" runat="server">
</asp:ScriptManager>
Its giving me errror
'busy' is null or not an object
Here is my HTML code
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onunload="Leave()">
<form id="Form1" method="post" runat="server" style="height: 100; width: 100;">
<div>
<asp:ScriptManager EnablePageMethods="true" ID="ScriptManager1" runat="server" />
</div>
<div id="div1">
</div>
<input id="otherUser" type="hidden" name="otherUser" runat="server" />
<script language="JavaScript" src="js/rs.js"></script>
<script type="text/javascript" language="JavaScript">
function button_clicked()
{
RS.Execute("Chat1.aspx", "SendMessage",document.Form1.txtMsg.value,document.Form1.otherUser.value, callback, errorCallback);
document.Form1.txtMsg.value="";
document.Form1.txt.scrollIntoView("true");
PageMethods.MyFirstParameterPageMethod(document.Form1.txtMsg.value,onSucceeded,onFailed);
}
function onSucceeded(result,userContext,methodName)
{
$get('div1').innerHTML=result;
}
function onFailed(error,userContext,methodName)
{
alert("An error occurred")
}
</script>
</form>
</body>
Help Me
Reply
Answers (
1
)
how to compare textbox with database
if iam enter number in to text box , how the correct bar code is display ?using c#2008 web application