Click here to Skip to main content
15,896,439 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi
I developed a simple web page and I am trying to run it on local system but it is giving me this Message
Microsoft JScript runtime error: Object expected

and it is showing break point at this line.
bflixDocumentComplete("http://localhost:1403/requirement1/req.aspx")

please advice me how to solve this.
Posted
Updated 4-Feb-12 20:57pm
v3
Comments
Jaganathan Bantheswaran 5-Feb-12 2:28am    
Can you go and check the 'Disable script debugging' for Internet Explorer and try again.

IE -> Tools->Internet Options->Advanced->Disable script debugging
ashu1810 5-Feb-12 2:51am    
thank you

I did this but it is showing the same error.
thatraja 5-Feb-12 3:02am    
Show code
ashu1810 5-Feb-12 3:07am    
Code is not so complex.
Its Just a simple basic app. with some radio buttons and the textboxs thats it
Sergey Alexandrovich Kryukov 5-Feb-12 3:12am    
Nobody asked you how complex your code is.
OK, don't show it; make a (short) code sample, post it. Use "Improve question". If you need any advice of course...
--SA

First of all, don't hard code URLs, define them in one place, so they can be easily changed. Secondly, bflixDocumentComplete is not standard jscript, you must be using some sort of library. Finally, if you install Chrome, you can set breakpoints and step through your js to see what is going on. If you don't post your code, we can't tell you what is wrong with it.
 
Share this answer
 
Do like this
IE -> Tools->Internet Options->Advanced->Reset Internet Explorer Settings->
click On Reset Button
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900