5 Replies Latest reply on Aug 1, 2007 6:25 AM by Oleg Burau

    check submition on form onsubmit

    Oleg Burau Newbie

      Hi. I would like to know, is there any posibility to check if there was any submition fired by aj4.

      Example:

      <h:form id="webacForm" onsubmit="check()">
       ...
       <a4j:commandLink ... />
       ...
      </h:form>


      Javacript:
      function check () {
       if(A4J.AJAX.isSubmited) { // Is there any property like this one?
       alert('Submited by A4J!');
       }
      }


      Thank you!