Okay and thank you for all your help
JSON files 1) slist; and 2) eyes2 (new) – both are identical
But - the HTML will read both JSON or mySQL just fine for slist
Switch to eyes2, I get error "Incorrect JSON format" and no list shows using either JSON or mySQL
Link to HTML pg: using "eyes2"
emg-infinite.com/health-portal/WebContent/html2-version/checkMySymptomsMale-test.html
Roll cursor over male image - HEAD >> EYES (this is the only one set up)
I am using iFrame (so long content scrolls) which contains the js code to get the select-lists: URL for the iFrame is:
emg-infinite.com/health-portal/WebContent/html2-version/symptoms-selector/eyes.html
JSON for eyes2:
Code: Select all
[{"0":[1,2],"1":[3,4,5,13],"2":[12],"3":[10,11],"4":[8,9],"5":[6,7]}, [{"value":"Root","content":"","parent":-1},{"value":"Flash Games","content":"","parent":0},{"value":"HTML5 Games","content":"","parent":0},{"value":"Adventure","content":"Address: \n <a href=\"https://coursesweb.net/games/adventure\">Adventure</a>","parent":1},{"value":"Logic-perspicacity","content":"Address: \n <a href=\"https://coursesweb.net/games/logic-perspicacity\">Logic-perspicacity</a>","parent":1},{"value":"Puzzle","content":"Address: \n <a href=\"https://coursesweb.net/games/puzzle\">Puzzle</a>","parent":1},{"value":"Match 3 Christmas","content":" <a href=\"https://coursesweb.net/games/match-3-christmas\">Match 3 Christmas</a>\n Swap the Christmas items to combine identical 3 items horizontally or vertically, make all the blocks brighten.","parent":5},{"value":"Farmscapes","content":"<a href=\"https://coursesweb.net/games/farmscapes\">Farmscapes</a>\n Accompany Joe in this holiday to his grandfather to restore his ranch, to make fresh veggies.","parent":5},{"value":"Tiny King","content":"<a href=\"https://coursesweb.net/games/tiny-king\">Tiny King</a>\n Enter into a funny fairy tale with a cute little king. Find the key and open the door to the next level","parent":4},{"value":"Clover Flower","content":"<a href=\"https://coursesweb.net/games/clover-flower\">Clover Flower</a>\n Bring water and sunlight to the clover flower to make it blossom and happy in this beautiful game.","parent":4},{"value":"Snail Bob 8 Island Story","content":"<a href=\"https://coursesweb.net/games/snail-bob-8-island-story\">Snail Bob 8 Island Story</a>\n The brave Snail Bob reached on a primitive island, help him go back home safe and happy.","parent":3},{"value":"Jungle Fun","content":"<a href=\"https://coursesweb.net/games/jungle-fun\">Jungle Fun</a>\n Jungle Boy is looking for hidden treasures and he has to find his way with the help of animal friends.","parent":3},{"value":"Light the Stars","content":"<a href=\"https://coursesweb.net/blog/light-the-stars-game\">Light the Stars</a>\n The game tells itself what it is about.","parent":2},{"value":"Test List","content":"<br/><h4>Possible Conditions</h4><br/>\n<table class=\"table table-striped\">\n <tbody>\n <tr>\n <td>Sinusitis</td>\n </tr>\n <tr>\n <td>Aneurysm in the Brain</td>\n </tr>\n <tr>\n <td>Cluster Headaches</td>\n </tr>\n <tr>\n <td>Eye Emergencies</td>\n </tr>\n </tbody>\n</table>\n","parent":1}]]