× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Nathan

For som reason fixed xml/json files from IBM I apache failes in IE.

IE takes the answer from responseText and treat it as a 'no string'
making JSON.parse and other DOM commands fail.

What exactly happens is untold - IE 9 in compatibility mode works
but in strick mode failes while all other browers except IE work.

If you move the file to another machine it works.



On Sat, Nov 12, 2016 at 3:52 PM, Nathan Andelin <nandelin@xxxxxxxxx> wrote:


Exactly what I want happening.


I tested it with the major browsers (IE, Firefox, Chrome, Opera, Safari)
and Windows, Android, i/OS. All of the browsers and devices handled the
JSON as expected.


Was this something you had already done, or did you make this page using
the data I showed?


I used a tool named Fiddler to extract the JSON from your web site. Then
tested it with the site that Pete Helgren referred too. It looked
well-formed.

I had just completed the following sample application in conjunction with a
piece I'm writing about code for automatically adapting page layout to
various device types and screen sizes (responsive design):

https://rd.radile.com/rdweb/info3/ibmiui10x.html

It turned out to be a nice template for viewing your U.S. Presidents JSON.

By way of background, I've been writing a series of articles about IBM i UI
modernization. This includes writing samples and explaining how they work.

https://rd.radile.com/rdweb/info2/ibmiuix.html



This is hosted on a iSeries?


Yes.


I see you also have taken "mobile" into account.


That's precisely the point of the article I'm in process of writing now.
How to make page layout adapt to a variety of device types and screen
sizes.


I like the tab for detail info. I have been thinking about hover or
tooltip.


Thanks for the feedback.


The tab leads to allowing updates though. Better idea, in my opinion.


Yes, I intend to progress to that later.
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.