473,388 Members | 1,256 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Wanted: JavaScript to create HTML from suitable JSON

Hello

I want to provide a mini-help system on a web page, to help the user
when s/he is filling in a form.

I thought I'd hold the help data in JSON format, and translate it to
HTML via JavaScript in response to user actions.

So I'm wanting to translate suitable JSON into HTML elements. I've
looked around a bit and not found anything that does this.

Do you know of anything like this out there, either as JSON to HTML or
as a help system on a web page?

--
Jonathan
Mar 27 '08 #1
4 1498
Thomas 'PointedEars' Lahn wrote:
Test case: http://PointedEars.de/scripts/test/DOM/JSON/json2markup
Thank you for your contribution. However, the above URL gives me a 404
error.

--
Jonathan
Mar 31 '08 #2
Jonathan Fine wrote:
Thomas 'PointedEars' Lahn wrote:
>Test case: http://PointedEars.de/scripts/test/DOM/JSON/json2markup

Thank you for your contribution. However, the above URL gives me a 404
error.
It's really at:
http://PointedEars.de/scripts/test/d...son2markup.php

Regards, Tumi
Mar 31 '08 #3
Tuomo Tanskanen wrote:
Jonathan Fine wrote:
>Thomas 'PointedEars' Lahn wrote:
>>Test case: http://PointedEars.de/scripts/test/DOM/JSON/json2markup
Thank you for your contribution. However, the above URL gives me a 404
error.

It's really at:
http://PointedEars.de/scripts/test/d...son2markup.php
That is strange, both should work.
PointedEars
--
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf('MSIE 5') != -1
&& navigator.userAgent.indexOf('Mac') != -1
) // Plone, register_function.js:16
Mar 31 '08 #4
Thomas 'PointedEars' Lahn wrote:
Tuomo Tanskanen wrote:
>Jonathan Fine wrote:
>>Thomas 'PointedEars' Lahn wrote:
Test case: http://PointedEars.de/scripts/test/DOM/JSON/json2markup
Thank you for your contribution. However, the above URL gives me a 404
error.
It's really at:
http://PointedEars.de/scripts/test/d...son2markup.php

That is strange, both should work.
Ahh, it's the wrong case of the `DOM' directory that causes the problem.
Please use

http://PointedEars.de/scripts/test/dom/JSON/json2markup

instead.
PointedEars
--
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf('MSIE 5') != -1
&& navigator.userAgent.indexOf('Mac') != -1
) // Plone, register_function.js:16
Mar 31 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

22
by: Dan Rumney | last post by:
Hi all, I've been writing Javascript for quite a while now and have, of late, been writing quite a lot of AJAX and AJAX-related code. In the main, my dynamically generated pages are created...
2
by: joelkeepup | last post by:
Hi, I made a change this morning and now im getting an error that says either "a is undefined or null" or "e is undefined or null" the microsoft ajax line is below, I have no idea how to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.