You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Calling an Action Chain from .js file of a vbcs page

edited Apr 6, 2019 1:13PM in Visual Builder 4 comments

Summary

Calling an Action Chain from .js file of a vbcs page

Content

Hi,

I want to call and execute an action chain defined in a page from js file of that page inside a jquery function as i can't call it from Html level on click event.. Only option left for me is to call it from Javascript file by a jquery click event.

 $(document).on("click", ".localeLink", function(e) {
       console.log("Inside click method");    
        console.log(e.target.id);
        alert(e.target.id);

--> Action chain is to be called and executed here..

});

The action chain details are registered in page.json file..

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!