Line 1 Char 1 Error Object Required Code 0
Contents |
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 object expected error in internet explorer 8 Stack Overflow the company Business Learn more about hiring developers or posting ads with
Script16389 Unspecified Error Ie
us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a an error has occurred in the script on this page windows 7 community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Internet Explorer line 1 char 1 code 0 error up vote 8 down vote favorite internet explorer 11 script error keeps popping up 2 I'm using jQuery+drupal and some jQuery plugins. All is ok with Firefox. But in IE's i'm receiving problem like this. Line: 1 Char: 1 Error: object expected URL: http://businessway.am I have included .js files. How to know where is the problem? In which file? Line 1? Which file? If you can please check site which I gave before. javascript jquery internet-explorer-6 internet-explorer-7 share|improve this question asked Jan 25 '10
Internet Explorer Script Error
at 14:47 Tigran Tokmajyan 79241732 1 I get the following error message: artNoStyleAdding is not defined businessway.am line: 84 –Billy Jan 25 '10 at 15:06 Billy what debugger are you using? –Tigran Tokmajyan Jan 25 '10 at 16:00 add a comment| 5 Answers 5 active oldest votes up vote 8 down vote accepted You could get this type of errors in case the url of a does not return javascript, but some other content (html) I checked the page, but all scripts with src actually do seem to return javascript. With a bit more digging, it seems that this eval code triggers the error message: artNoStyleAdding(document) It looks like it is coming from this script: That's the last but one script in the head of the document. Apperantly you forgot to declare and code the artNoStyleAdding function, whatever it is supposed to do. share|improve this answer edited Jan 25 '10 at 15:09 answered Jan 25 '10 at 14:54 Roland Bouman 19.8k23955 All files exist, and are JavaScript files. –Tigran Tokmajyan Jan 25 '10 at 15:14 Thank you. it's fixed :) how you debug javascript? –Tigran Tokmajyan Jan 25 '10 at 15:30 hmmm
/ I have included .js files. How to know where is the problem? In whichfile? Line 1? Which file? If you need source code say me I'll PM you address. Raju_Gautam 2010-01-25 16:27:51 UTC #2 IE is like that. It cannot say the exact location of the problem/error. Try to see the Error console of FF even if it is working. There might be some errors/warnings. Otherwise remove the JS files that you have used in the page one by one and see http://stackoverflow.com/questions/2133033/internet-explorer-line-1-char-1-code-0-error which file is causing the problem. It would be good if you can show us the running page rather than the particular code. Toktik 2010-01-25 17:01:56 UTC #3 Page you can find here: bus inessway.am. Remove whitespace. One guy from stackoverflow help's me, and I fixed problem in IE7 and IE8 by removing some javascript code. But in IE6 I'm receiving https://www.sitepoint.com/community/t/internet-explorer-line-1-char-1-code-0/48347 same problem. Raju_Gautam 2010-01-25 17:09:09 UTC #4 Oh... sorry dude I don't have IE6 at my laptop. Toktik 2010-01-25 17:35:23 UTC #5 ok no problem If you want to use IE6, IE7 and IE8 you can download IETester software. Raju_Gautam 2010-01-26 04:44:13 UTC #6 Toktik said: ok no problem If you want to use IE6, IE7 and IE8 you can download IETester software. I had already tried this. There were lots of problems using them together in a system and it is not good to trust on such cracked software. I have an experience while using them in a system. Regarding a JS and a simple CSS issue we spent whole day testing in that IE6 and could not fix the problem finally when we tested the page in original IE6 (that comes with the Windows XP) it was already working fine. So i just uninstalled that application right away and never tried it after all. Stomme_poes 2010-01-28 09:39:34 UTC #7 A lot of those IE6-emulators don't include IE6's native default JS engine (they may have some version of IE7's fo
0) + Ask a Question Need help? Post your question https://bytes.com/topic/javascript/answers/888410-javascript-error-line-1-char-1-error-object-expected-code-0-a and get tips & solutions from a community of 418,582 IT Pros & Developers. It's quick & easy. Javascript Error (Line: 1 Char: 1 Error: Object Expected Code: 0) P: 5 whatelyb I am having trouble related to the attached coding. I am trying to make the object "flight1pic" change depending internet explorer on what is selected in the drop down menus "airline1" and "aircraft1". My problem is when changing "airline1" it all works fine, but when changing "aircraft1" i get the error: Line: 1 Char: 1 Error: Object Expected Code: 0 Expand|Select|Wrap|Line Numbers functionflightpicFunction(){ if(document.getElementById('airline1').value=="Qantaslink"&&document.getElementById('aircraft1').value=="Boeing717"){document.getElementById('flight1pic').innerHTML="