Streaming live at 10am (PST)

Trigger IX2 using Javascript

Hi guys,

I have some custom code on my site which connects to another server using AJAX.
Based on the response, I’d like to run different interactions to play an animation and display some information. So is there a way to programmaticaly trigger an interaction?

I read through the forum and the only solution I’ve seen so far is to add a hidden element, bind the interaction to this element and then simulate a click/tap using jQuery.

Is there a more elegant solution to this issue which does not require additional elements?

Thanks in advance for your help :slight_smile: