0 Replies Latest reply on Oct 9, 2007 8:37 AM by hgf

    looking for global setting for mouse style

    hgf

      Hi,

      I am looking for a way to switch mosue style global while a ajax request is been executed. Currently I have to add onsubmit and oncomplete for each a4j:element. See a snippet beneath.

      Thank you

      <a4j:support event="onblur" reRender="panelError" ajaxSingle="true"
       onsubmit="document.getElementsByTagName( 'body' )[0].style.cursor = 'wait';"
       oncomplete="document.getElementsByTagName( 'body' )[0].style.cursor = 'auto';"
      limitToList="true" />