Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Concatenate a loaded JSON URL

$
0
0

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");})

    }

});


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>