1 Reply Latest reply: Oct 27, 2011 6:48 PM by jepoy1 RSS

    is there a way to communicate between cfinput type=submit and input type=submit or button

    jepoy1

      Hi,

       

         How to call a cfinput type="submit" by a normal button?

      In javascript, i tried document.cfformName.submitButtonName. The result is undefined.

      Is there any way to communicate between these two?normal input button and cfinput type=submit.

       

      I just want that, when i click my button, it will simultaneously click the button also from cfform flash.

      Anyway, these two buttons are in separate file.

       

      Regards,

      Jeff

        • 1. Re: is there a way to communicate between cfinput type=submit and input type=submit or button
          jepoy1 Community Member

          Hi,

           

             Anyone out there willing to help me.

           

            <cfform format="flash" name="form_flash">

                <cfinput type="submit" name="btnFlash">

          </cfform>

           

          <input type="button" value="BUTTON" onclick="chkFlash();">

           

          <script>

               function chkFlash()

               {

                    document.form_flash.btnFlash.click();

                }

          </script>

           

          This is not a working sample. I want to ask help if there any way to communicate with the cfform flash?Currently, it is undefined with function chkFlash.

           

          Regards,

          Jeff