public/javascripts/WireIt/build/wireit-inputex-editor-grouping.js
function(msg) {
      if(!this.fieldContainer) { return; }
      if(!this.msgEl) {
         this.msgEl = inputEx.cn('div', {className: 'inputEx-message'});
          try{
             var divElements = this.divEl.getElementsByTagName('div');
             this.divEl.insertBefore(this.msgEl, divElements[(divElements.length-1>=0)?divElements.length-1:0]); //insertBefore the clear:both div
          }catch(e){alert(e);}
      }
      this.msgEl.innerHTML = msg;
   }
function(msg) {
      if(!this.fieldContainer) { return; }
      if(!this.msgEl) {
         this.msgEl = inputEx.cn('div', {className: 'inputEx-message'});
          try{
             var divElements = this.divEl.getElementsByTagName('div');
             this.divEl.insertBefore(this.msgEl, divElements[(divElements.length-1>=0)?divElements.length-1:0]); //insertBefore the clear:both div
          }catch(e){alert(e);}
      }
      this.msgEl.innerHTML = msg;
   }
function ( msg ) { if ( ! this . fieldContainer ) { return ; } if ( ! this . msgEl ) { this . msgEl = inputEx . cn ( 'div' , { className : 'inputEx-message' } ) ; try { var divElements = this . divEl . getElementsByTagName ( 'div' ) ; this . divEl . insertBefore ( this . msgEl , divElements [ ( divElements . length - 1 >= 0 ) ? divElements . length - 1 : 0 ] ) ; //insertBefore the clear:both div } catch ( e ) { alert ( e ) ; } } this . msgEl . innerHTML = msg ; }
Update the message
@param {String} msg Message to display
Update the message