Wanted: JavaScript to create HTML from suitable JSON

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jonathan Fine

    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
  • Jonathan Fine

    #2
    Re: Wanted: JavaScript to create HTML from suitable JSON

    Thomas 'PointedEars' Lahn wrote:Thank you for your contribution. However, the above URL gives me a 404
    error.

    --
    Jonathan

    Comment

    • Tuomo Tanskanen

      #3
      Re: Wanted: JavaScript to create HTML from suitable JSON

      Jonathan Fine wrote:
      Thomas 'PointedEars' Lahn wrote:>
      Thank you for your contribution. However, the above URL gives me a 404
      error.
      It's really at:


      Regards, Tumi

      Comment

      • Thomas 'PointedEars' Lahn

        #4
        Re: Wanted: JavaScript to create HTML from suitable JSON

        Tuomo Tanskanen wrote:
        Jonathan Fine wrote:
        >Thomas 'PointedEars' Lahn wrote:>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 bugRiddenCrashP ronePieceOfJunk = (
        navigator.userA gent.indexOf('M SIE 5') != -1
        && navigator.userA gent.indexOf('M ac') != -1
        ) // Plone, register_functi on.js:16

        Comment

        • Thomas 'PointedEars' Lahn

          #5
          Re: Wanted: JavaScript to create HTML from suitable JSON

          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



          instead.


          PointedEars
          --
          var bugRiddenCrashP ronePieceOfJunk = (
          navigator.userA gent.indexOf('M SIE 5') != -1
          && navigator.userA gent.indexOf('M ac') != -1
          ) // Plone, register_functi on.js:16

          Comment

          Working...