2 Replies Latest reply on May 12, 2014 2:35 PM by infocorsi@xmt.it

    Problem with .load() method


      Hi There

      I have an issue using the jquery .load().

      In my composition, in compositionReady, I use .load() to load an external html file into an ordinary Edge element - no problem here.


      The loaded HTML contains a div  id="spot" - I would like to clik on it and fire an Edge comand, such as 'play the symbol', or 'move that element'..

      the problem is: how can I address that div?


      tried variuos solutions :



      ... and many mix...


      I was originally thinking to write something like

      $("spot").click(function() {

           alert( "spot clicked." );


      Thanks for helping me!