Display array values

Hi, I have been able to create a query that receives a parmeter so it filters the data on a given choice, and I'm able to send that into the console with a table view.

How can I do so in HTML to display my data?

 

I appreciate any help with this.

Best Answers

  • laura_igl
    laura_igl Member
    Answer ✓

    Hi,

    Is anyone able to help out with this request?


    Thanks,

  • jaeW_at_Onyx
    jaeW_at_Onyx Coach
    Answer ✓

    I'm pretty sure you want the .appendChild method

    https://www.geeksforgeeks.org/html-dom-appendchild-method/

     

    function geeks() {

                var node = document.createElement("LI");

                var textnode = 

                    document.createTextNode("Web Technology");

                node.appendChild(textnode);

                document.getElementById("gfg").appendChild(node);

            }

     

    Jae Wilson
    Check out my 🎥 Domo Training YouTube Channel 👨‍💻

    **Say "Thanks" by clicking the ❤️ in the post that helped you.
    **Please mark the post that solves your problem by clicking on "Accept as Solution"

Answers

  • laura_igl
    laura_igl Member
    Answer ✓

    Hi,

    Is anyone able to help out with this request?


    Thanks,

  • Thanks, I managed to do it myself. Feel free to ask me for the code if you want to know how I did it Smiley Happy

  • hi, can you show me an example of this please. sounds like something i'm working on. thanks, 

  • Interesting...are you also trying to create HTML based webforms inside of Domo? Are you using the Serverless AppDB technology?

     

  • jaeW_at_Onyx
    jaeW_at_Onyx Coach
    Answer ✓

    I'm pretty sure you want the .appendChild method

    https://www.geeksforgeeks.org/html-dom-appendchild-method/

     

    function geeks() {

                var node = document.createElement("LI");

                var textnode = 

                    document.createTextNode("Web Technology");

                node.appendChild(textnode);

                document.getElementById("gfg").appendChild(node);

            }

     

    Jae Wilson
    Check out my 🎥 Domo Training YouTube Channel 👨‍💻

    **Say "Thanks" by clicking the ❤️ in the post that helped you.
    **Please mark the post that solves your problem by clicking on "Accept as Solution"
This discussion has been closed.