- Forums
- Javascipt
- Errors on this webpage might cause it to work incorrectly
if you are getting this error on you browser that says: errors on this webpage might cause it to work incorrectly - this tutorial will try to help you solve and fix the error you are getting on your javascript code [2234], Last Updated: Mon Jun 24, 2024
Webune Support
Wed Oct 06, 2010
3 Comments
2186 Visits
Welcome to Webune Forums - We provide Excellent Web Hosting Services.
Today's questions is regarding javascript. We had a customer who was new to javascript and had a script which kept giving error on Microsoft Internet Explorer, but not other browsers like Firefox, the question is as follows:
Question: This is an error i am getting on one of my javascript scripts. i was wondering if anyone has seen this error before and if they can help me resolve it
Windows Internet Explorer
Errors on this webpage might cause it to work incorrectly
To see this message in the future, double-click the warning icon on the status bar.
Object expected
ref_url.php
Code: 0
URI: http://localhost/ref_url.php
Line: 1
Char: 1
[] Always show this message for webpages errors
After troubleshooting with the customer, we were able to resolve this problem (error message pop up).
ORGINAL HTML:
<body onload="BeginScript();">
Explanation: the customer had a function which he wanted to start right when the page loaded. the function name was called: BeginScript()
CHANGED HTML:
<body onload="BeginScript;">
Explanation: after removing the () from the function, it worked.
We dont know if this will help you, but if it did. good for you. but these are our notes so just incase anyone else sees this error in the future will know how to solve it and fix their code.
message: object expected
line: 632
char: 1
code: 0
uri: mlsalliance/framebar4.asp