facebook

Dynamic HTML: CLOSED

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #330446 Reply

    Paul G
    Member

    I want to use the new HTML widget to add content on the fly into the html container/widget

    I have tried these variations without success:

    function insert_html(){
    $(‘#m1-intcalscreen3-html1’).val(“GHGHGJHGJH”);
    }

    function insert_html(){
    $(‘#m1-intcalscreen3-html1’).text(“GHGHGJHGJH”);
    }

    Can you give a simple example how to do it? Why do the above 2 examples not work?

    #330448

    Hi Paul,

    Try with something like this:

    $('#m1-intcalscreen3-html1').html("GHGHGJHGJH");
    

    Let me know how it goes.

    #330452

    Paul G
    Member

    Thanks Octavio that works.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Dynamic HTML: CLOSED

You must be logged in to post in the forum log in