Using Javascript in Widget
Summary
I am needing to call a function in a widgets javascript.Content
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
0