Home > Invalid Character > Internet Explorer Syntax Error Invalid Character

Internet Explorer Syntax Error Invalid Character


Fkrueger Wasn't my issue, but very nice written Finally I discovered that a jquery call before a form.serializeArray causes the IE to produce JSON parser errors. And if I throw in the game, Web Developer Toolbar, HttpFox, JSView, User Agent Switcher, then Firefox is totally winning. You can try adding this to your page and see if it works: or you can set the 'local intranet' zone to low and disable protected javascript internet-explorer local share|improve this question edited Feb 12 '13 at 14:02 Cerbrus 35.4k66094 asked Feb 12 '13 at 13:58 Clox 1,05331737 1 I would try to re-download the file have a peek here

FollowUs Tag Cloud amazon web store blog casinos CBS Radio development E-commerce ecommerce entertainment Events graphic design hotels jquery Just Professionals las vegas las vegas web design local search directory magento Hope this helps. Check ALL syntax 2. In this case for usre Firefox wins.

Invalid Character Error Javascript

Send to Email Address Your Name Your Email Address Cancel Post was not sent - check your email addresses! I normally do my first pass of Web page testing using Chrome, but when I published the source to travellermap.com I was sent a report by a developer that when debugging Can you try adding "ajaxify.aspx/abc.json"? That didn't even occur to me since I hadn't ever opened it in IE before, actually hadn't even opened IE at all since last OS-reinstallation. –Clox Feb 12 '13 at 14:19

If you want to see the error in Firefox - and it shows you exactly what the error is almost every time - run Firebug. justpros Well, I'm not familiar with C, but IE is trying to look for a .json extension regardless the of content type. So what you see passed through to one of the other browsers, might not be the same thing being passed here. Javascript Runtime Error: Invalid Character etc I'd except this to be a common problem (Or don't people ever view locally stored webpages in ie?) but I didn't find much when searching, and what I found didn't

And I forgot saying that it works if I change to src to "code.jquery.com/jquery-latest.min.js" or such –Clox Feb 12 '13 at 14:06 I'd guess it's a character encoding isse I skeptically cleared cache like you suggested, then refreshed and it instantly fixed it. Sometimes it might not play well with headers though. I know that this is my mistake, but I'm totally amazed about the usefulness of the IE error messages.

I used javascript externally like this: When I got a new template, and put the javascript in, it works fine on FF but on IE it loads with Javascript Invalidcharactererror Just Slide - jQuery Content Slider What is it? Woooot! Finding the distance between two points in C++ if statement - short circuit evaluation vs readability Why did Moody eat the school's sausages?

Invalid Character Error Ie 11

Never can tell if clicking the "clear cache" and "always refresh from server" buttons are actually working. http://www.v7n.com/forums/coding-forum/255197-javascript-invalid-character-error-ie-only-when-used-externally-why.html It help me Minotaurus Thank you for this great post! Invalid Character Error Javascript But still didnt figure out why it caused this problem, other then little errors on html coding i found when i started over again -that was not related to js or Script1014: Invalid Character V7N Technology Blog .::.

path. –daylight Mar 2 '13 at 19:24 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign http://auctusdev.com/invalid-character/internet-explorer-script-error-invalid-character.html Worked for me. It's time to get CRAZY! $.ajax({ type: "GET", url: "/events", dataType: "json", cache: false, // don't cache the result contentType: "application/json", //tell the server we're looking for json success: function(data) { LOVE_MOSS_NOT June 3, 2010 at 6:37 am Reply Nope, you are not wrong IE IS A PIECE OF CRAP FROM A MULTIMILLION DOLLAR COMPANY, granted it was IE6 that destroyed Netscape's Ie11 Invalid Character

If you add charset="UTF-8" as an attribute to the importing script tag hopefully that'll fix it. John Very good. How To Remove Rundll ErrorThanksAalia lyonReplyDeleteAdd commentLoad more... Check This Out Share Flag This conversation is currently closed to new comments. 3 total posts (Page 1 of 1)   + Follow this Discussion · | Thread display: Collapse - | Expand +

Have proper doctype. Internet Explorer Invalid Character Angel March 6, 2010 at 9:35 pm Reply Thank you, thank you! It started in the middle of the day while doing a lot of start-stop web debugging with VS2008 and ASP/VBScript.

Not the answer you're looking for?

  • Notify me of new posts via email.
  • Privacy Policy | Cookies | Ad Choice | Terms of Use | Mobile User Agreement A ZDNet site | Visit other CBS Interactive sites: Select SiteCBS CaresCBS FilmsCBS RadioCBS.comCBS InteractiveCBSNews.comCBSSports.comChowhoundClickerCNETCollege NetworkGameSpotLast.fmMaxPrepsMetacritic.comMoneywatchmySimonRadio.comSearch.comShopper.comShowtimeTech
  • Note: at this point, it *may* or *may not* work for you. (For me, this didn't work.
  • Indeed, CompanionJS is a useful tool which could help you debug web pages in IE.
  • I have trust issues when it comes to the whole cacheing thing.
  • In my case it was "parsererror".

Are QA responsible for xml schema validation testing Hit a curb; chewed up rim and took a chunk out of tire. Please let me if any one know the solution. Eli thanks for the help!!!  Info What about when you are posting and the response contains the JSON and IE8 still says parsererror as well as invalid JSON  but all the Javascript Invalid Character Line 1 Archive September (1) July (1) January (1) September (1) July (2) June (1) May (5) March (1) August (1) June (1) May (1) April (1) March (4) February (1) January (1)

Have you ever encountered the below error?

Line: 2 Char: 1 Error: Invalid character Code: 0 URL: ... 

I did. IE8 comes with a good debugger too, but not very useful for older versions. As background, those are the scripts behind the "social" widgets for "+1", "Like" and "Tweet" widgets that appear on pages such as http://travellermap.com - but how could those errors be appearing this contact form Store and Blog Launch Healthy Glow Skin Products, A New Custom Yahoo!

Problem was resolved by moving some of the javascript from an external file directly into the program being executed. Here's how to reproduce the problem: Create a project in Visual Studio Express 2012 for Web Add blank web page, set it as the startup page (right-click in the Solution Explorer) Once I removed that, the error went away. Fill in your details below or click an icon to log in: Email (Address never made public) Name Website You are commenting using your WordPress.com account. (LogOut/Change) You are commenting using