from http response is showing as 'undefined' in IE - html

In my API response body I'm having . while this doen't create any issue in chrome/firefox.
While rendering in IE 8, I'm seeing 'undefined' in my UI.
I'm using Angular 8. and i'm already using utf-8 encoding in my index.html
<meta charset="utf-8">
Any idea what is causing the issue? Is it a Angular 8 IE bug?

As per the official document, Angular is supported in IE 9, 10, 11 versions. you are using the IE 8 that is not supported.
So I am not sure how your angular app is working in the IE 8 browser.
This can be a possible cause of this issue.
If you think that this is not the case then I suggest you try to provide the detailed information with some sample code and detailed steps for producing the issue and test the issue to check for the results.
Another thing I want to inform you that IE 8 is a too old version and it is out of support scope of Microsoft. I suggest you use the latest Microsoft browser or at least move to the IE 11 version.

Related

ios 11 Beta 5 select drop-down list issue

HTML Select drop-down list is not getting dismissed properly on iOS 11 beta 5. Upon closing the drop-down, an empty drop-down with blank options reappears in its place.
Please let me know if anyone else experienced the same issue and if a workaround is available for the same.
Note: It is a hybrid app built for iPad only and this issue is not reproducible on iOS 10 or below.
I've had a similar issue and discovered that in the <option> tag there is a label="" value. This only affects iOS 11, and 10 we've noticed as well. Populate your label="" value.
solution in another thread
This is not a long-term solution, but it works until apple provides a fix.
main points of other answer
Build your app with xcode 8, you can download version 8 of xcode from here, you have to sign in using your apple id.
To be able to build to iOS11 you will have to download xcode 9 (unless you have it) as well, and then copy the 11.0 folder from xCode9/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport and paste it into the same place in xCode8
The issue is because Cordova is using a UIWebView, and the bug is with UIWebView in iOS 11. The issue has been fixed in xcode 9.2-beta. Tested and it is working fine in iOS 11.2. Hopefully xcode 9.2 will have the fix once released.

Spell checking in IE 8

Is there any way how to programmatically (thru HTML or asp.net or C# etc) add or activate(add-on) spellchecker to IE 8 (could be also IE9 or IE10 but with doc mode IE8 ) ?
I know, that by default IE 8 dont have spellchecker included.
I guess there is this however there's no real other way unfortunately.
http://www.iespell.com/

Remote debug a site? JSON issue with IE8

The scenario is that the website works wonderfully on all machines except the ones where the client works. It's in Africa and I've no hope of getting access to it. He has limited IT knowledge and we don't know a great deal about the companies net policies.
I know that he is using IE8 with the doc mode being 8 as well, I suspected it was running in 7 because of some CSS issues but apparently not.
I use a JSON file and Ajax query to populate an important part of the site. It works well in all main browsers. I've used Dev mode and tried IE7 and IE8 and it still works.
However, his machine doesn't load anything, I output messages into the console and when he checked (confirmed via screen dump) there was emptiness.
What is love is either a way or means of debugging it from here, full details about his machine or some explanation as to why the json can't be read.
If anyone is using IE8 perhaps you could have a peek- it's kingpetroleum.co.uk/conversion.php
The drop down should populate the form web selected.
Thanks for any help.
Edit: there's a redirect on the index page that goes to the old site. Please use the /conversion.php if you check it out
As mentioned in the comments you need to add a polyfill for the JSON object which is not supported on older browsers. See here for more info on browser compatibility of the JSON object. They mention that it should be compatible for IE8, but this is not always the case and if the user is running IE8 in compatibility-mode it won't work either.
You should include the polyfill script file before you load your other scripts, I recommend doing it in conditional comments:
<head>
<!--[if lte IE 8]>
<script src="/path/to/json3.js"></script>
<![endif]-->
</head>
This would only load the polyfill for IE8 and below.

Test browsers compatibility with my website

Recently users of my website complained about the lack of support to IE6\7.
Is there an offline tool to test if a page-HTML isn't compatible with a specif browser and where is the problem?
Where can I find a list of things I need to be aware of in order to support IE6?
Update: The problems the users describe are in the UI, <Div>are not in the right places and that kind of problems, not JavaScript issues.
I can't force the users to upgrade theirs browsers.
IE6 is an ancient browser. Tell people who complain about lack of support that it's no longer supported and they should upgrade.
There is no "syntax checking" tool to find all incompatibilities, because the problems are not in syntax but how it's interpreted. There is no way around visual testing I'm afraid.
Here are some interesting SO questions on the topic:
One fix for all IE6 problems
How are programmers tackling ie6 bugs these days?
Running Internet Explorer 6, Internet Explorer 7, and Internet Explorer 8 on the same machine
IE tester is useful for testing across version of internet explorer. It may not tell you what is wrong but you will at least be able to see / verify what users are reporting.
http://www.my-debugbar.com/wiki/IETester/HomePage
I have some offer about this for you :
Try to use Jquery more,because Jquery is compatible with most browsers
there are 3 useful addons for Mozilla : Firebug , Web Developer , IE tab
IE 9 has a developer windows that you can change your page standard into IE 8 or 7
Use syntax liek this :
<link rel="stylesheet" type="text/css" href="Styles/ie-fix.css" />
maybe this is useful dude for you :)
If your users are complaining about IE6, you should give support to IE, thats theory. BUT, if possible do as google has been doing for years, if the user is using IE6/7 or lower show some links to download newer browsers and tell them that their browser is too old.
You can use a seperate stylesheet for IE.
There is a third party software named Utilu. Utilu IE Collection contains multiple standalone versions of the browser Internet Explorer, which can be used at the same time. It has more than 10 versions of IE. But its used for viewing the web pages. This software also has firefox and chrome collections.

"&percnt;" not recognized by IE

IE is not recognizing &percnt; entity in both 8 and 9 versions. I tested in two computers.
I read that it is implemented in IE here:
http://code.google.com/p/doctype/wiki/PercntCharacterEntity
Any idea?
Thanks
According to the HTML ASCII Reference you can just use %, IE should play nicely with that :-)
Strangely though, according to the Google doctype wiki &percnt; is supposed to be supported in all versions of IE from 6 to 8, so it should work in IE8

Categories