5 Replies Latest reply on Nov 20, 2014 1:49 AM by Jimmi Prajapapati

    Concatenate a loaded JSON URL

    QuadrantProductions Level 1

      If you have a JSON file that's being loaded (no problems there), and one of the JSON variables is named "thelink"  with a value of "http://www.somewebsite.com"

       

      How would you concatenate that in Animate.  Although the following syntax gave me back no error, it didn't work on a click.

       

      $.getJSON(myjson, function(data){

          {

                  sym.getSymbol("taboption2").click(function(){

              window.open((data[0].thelink), "_parent");})

          }

      });