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

Using Javascript in Widget

Received Response
edited Jun 8, 2022 12:09PM in General Technical Discussions 2 comments


I am needing to call a function in a widgets javascript.


I am using a product category notification manager widget and I am trying to add my own Yes/No button validation. I found the function in the widgets javascript that does what I need. But I cannot attach that function to my Yes button. I have also tried making my own ajax call but it seems the "this" is set somewhere unknown to me. I assume in the controller but I couldn't see how to pull it out and use it myself. I might be missing some fundamentals as I do not understand how these functions are attached initially. This might

Howdy, Stranger!

Log In

To view full details, sign in.


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