1 Reply Latest reply on Dec 20, 2012 8:11 PM by heathrowe

    Append

    bstensberg

      I have a container div that I am trying to append html content into. I have tried serveral options and can not get it to work. Does anyone have code to append html into a container?

       

      Thanks!

        • 1. Re: Append
          heathrowe Most Valuable Participant

          Here are some append() samples/references from the jquery api - http://api.jquery.com/append/

           

          As for your example, assummuning your target element is called container, then:

           

          On your choice of event handler (Stage > compositionReady, or button element > Click), your code would be similar to this.

           

               sym.$("container").append("<strong>Hello</strong>");

           

          hth

           

          Darrell