1 Reply Latest reply on Jul 19, 2007 1:34 PM by Dan Bracuk

    Invoking Component With OnClick Event

    existdissolve Level 2
      I need help! I am trying to invoke a component asychronously with an onclick event of my form. Unfortunately, I have not been able to get it to work. I am currently using a framework by JSMX, but it is not functioning properly for me.

      I know that my cfc is okay, for when I manually invoke it through the URL, it behaves as expected. Can anyone familiar with JSMX help me out? Thanks!

      My code is as follows:

        • 1. Re: Invoking Component With OnClick Event
          Dan Bracuk Level 5
          Why don't you do it the easy way and submit the form to a cf template that calls the method? If necessary, put that template into an iframe so it is not visible to the user.

          Take into account that once you get your code to actually do something, you have to contend with users clicking the button repeatedly wondering why nothing appears to be happening.