here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Microsoft JScript runtime error: Object expected while call javascript up vote 0 down vote favorite When call a javascript function on button click its http://stackoverflow.com/questions/28562841/object-expected-error-occurred-in-asp-net-jquery displaying error like this. button: Error: Microsoft JScript runtime error: Object expected. Note: Last day it was working fine. But today it does not. I didn't changed any thing but added one more function. javascript asp.net share|improve this question edited Jun 3 '11 at 6:12 OnesimusUnbound 2,03231833 asked Jun 3 '11 at 6:05 Jaganathan Bantheswaran 4402926 What's the implementation of FindInnerGridValue? Is FindInnerGridValue a javascript function? –OnesimusUnbound Jun http://stackoverflow.com/questions/6223558/microsoft-jscript-runtime-error-object-expected-while-call-javascript 3 '11 at 6:13 Yes. it is java script. Implementation is not a matter. Before hitting the functions its giving error on the line i given above. –Jaganathan Bantheswaran Jun 3 '11 at 6:17 Can you show your FindInnerGridValue() function code? –Jayantha Lal Sirisena Jun 3 '11 at 6:20 So what's the content of the FindInnerGridValue? It may contain javascript error. –OnesimusUnbound Jun 3 '11 at 6:20 1 The error means there is no such function defined. It can happen when you have syntax error in the JS block then the whole block is not loaded at all. Post here the function so we can try see some obvious mistake plus try using browser like Firefox or Chrome which has JavaScript Console showing you such errors and makes it much easier to fix them. IE is useless for this matter. –Shadow Wizard Jun 3 '11 at 6:21 | show 4 more comments active oldest votes Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook. Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer,
ASP.NET Community Standup Forums Help Home/ASP.NET Forums/General ASP.NET/HTML, CSS and JavaScript/How to debug :Microsoft JScript runtime error: Object expected How to debug :Microsoft JScript runtime error: Object expected RSS 20 replies https://forums.asp.net/t/1104961.aspx?How+to+debug+Microsoft+JScript+runtime+error+Object+expected Last post Sep 05, 2014 01:02 AM by Rajendra Varadaraju ‹ Previous Thread|Next Thread › Print Share Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads Support Options Advanced Search Reply zhangh_2007n... Member 1 Points 9 Posts How to debug :Microsoft JScript runtime error: Object expected Apr 30, 2007 11:01 AM|zhangh_2007ny|LINK HI. I get the error: Microsoft JScript runtime error: Object expected in my object expected web application (.NET 2.0). I have one dropdownlist A and this dropdownlist A suppose to fire another dropdownlist B when it is clicked ( selected index changed). This is when this error happend. I don't have any javascript in my code written and I don't know how to debug this. This is only happend if I clear the browser internet option "disable script debugging" and it object expected error failed when my web app run in the SSL(https). Can someone point to me the right direction? Thanks Reply JoshStodola Star 7779 Points 3127 Posts Re: How to debug :Microsoft JScript runtime error: Object expected Apr 30, 2007 11:17 AM|JoshStodola|LINK I can possibly point you in the right direction, but you will have to post some code first. Thanks. Reply zhangh_2007n... Member 1 Points 9 Posts Re: How to debug :Microsoft JScript runtime error: Object expected Apr 30, 2007 11:35 AM|zhangh_2007ny|LINK Thank you for your response. IF you could first give me some idea how to debug jscript in .NET 2.0 visual studio envirement, that would be great. thanks The javascript error get fired when I click the dropdownlist1. Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged Dim paydate As String = DropDownList1.SelectedValue Dim checkList As New CheckByEmpDetail(dal.getAppUser.UserID, paydate, dal.rootPath)'return object DdlXMLList.DataSource = checkList.PopulatePaycheckXmlList() 'return hashtable DdlXMLList.DataTextField = "Value" 'bind hashtable to second dropdoenlist DdlXMLList.DataValueField = "Key" DdlXMLList.DataBind() DdlXMLList.Items.Insert(0, "Select Pay Statement") DdlXMLList.SelectedIndex = 0 ReportViewerCheck.Visible = False End Sub and the aspx source is: <%@ Page Language="VB" MasterPageFile="~/Ess.master