5 Replies Latest reply on Dec 3, 2014 9:25 AM by smcguire+coj

    How do i call a creationComplete function from a button click?

    smcguire+coj

      Hi,

       

      I've written a function called getJson(jsonUrl) within creation complete.  I need it there to load the default json feed into the carousel.

       

      However, I also need to be able to call it from button clicks, i.e.

      var blogJsonURL = 'http://mywebsite.com/ui_jsonFeeds/blog.aspx?callback=?';

      getJson(blogJsonURL);

       

      This is so that I can switch between different json feeds.

       

      Any help would be most appreciated.

       

      Thanks.