Javascript Error Line 1 Char 1
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 Stack Overflow the company Business
Javascript Syntax Error Line 1
Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation script16389 unspecified error ie Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like
An Error Has Occurred In The Script On This Page Windows 7
you, helping each other. Join them; it only takes a minute: Sign up Javascript Line 1 Syntax error in IE [closed] up vote 3 down vote favorite 1 Can someone figure out what this Line 1 Syntax error internet explorer 11 script error keeps popping up is? I am trying to debug in IE6 and IE7 and can't find the source of the issue. http://ci.elfster.net/apps/game/tree/design.aspx Thanks javascript share|improve this question asked Aug 17 '09 at 23:48 Adrian Adkison 8081325 closed as off-topic by isherwood, Ben Lee, Andrey Chaschev, Mario Sannum, showdev Dec 18 '13 at 23:28 This question appears to be off-topic. The users who voted to close gave this specific reason:"Questions concerning problems with code you've written must describe the internet explorer script error specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance." – isherwood, Ben Lee, Andrey Chaschev, Mario Sannum, showdevIf this question can be reworded to fit the rules in the help center, please edit the question. Link is broken. –showdev Dec 18 '13 at 23:29 add a comment| 4 Answers 4 active oldest votes up vote 7 down vote accepted Just after this comment line: you are trying to embed a javascript: var src = 'http://ads.elfster.com/go/a.aspx?ZoneID=' + ZoneID + '&Task=Get&IFR=False&PageID=27668&SiteID=' + SiteID + '&Random=' + browDateTime; I've got this path: a.aspx?ZoneID=4&Task=Get&IFR=False&PageID=27668&SiteID=1&Random=1250553113754 This URL returns HTML not javascript hence the error you get. share|improve this answer answered Aug 17 '09 at 23:56 DmitryK 4,45411128 Just to clarify a bit: ads.elfster.com/go/… returns:
and you are trying to embed that as a javascript. –DmitryK Aug 18 '09 at 0:00 awesome this is exactly what I needed. One further question, if this is the case, how come I don't receive an error in firefox? –Adrian Adkison Aug 18 '09 at 0:07 Because FF generates a different URL: ads.elfster.com/go/… which received proper javascript: document.write(' '); –DmitryK Aug 18 '09 at 0:40 The difference is that extra parameter: browsbe down. Please try the request again. Your cache administrator is webmaster. Generated Wed, 19 Oct 2016 14:01:35 GMT by s_nt6 (squid/3.5.20)
0) + Ask a https://bytes.com/topic/javascript/answers/888410-javascript-error-line-1-char-1-error-object-expected-code-0-a Question Need help? Post your question and get tips & solutions from a community of 418,579 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 script error the attached coding. I am trying to make the object "flight1pic" change depending 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 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="