title: MooTools-Core: uncaught TypeError: undefined is not a function
body: <p>I have this code function:</p>
  
  <pre><code>window.addEvent('domready', function() {
      $('myForm').addEvent('submit', function(e) {
          var content = CKEDITOR.instances['comment'].getData();
          $('comment').setProperty('value',content)
          e.stop();
          var log = $('log_res').empty().addClass('ajax-loading');
          this.set('send', {onComplete: function(response) { 
              log.removeClass('ajax-loading');
              log.set('html', response);
          }});
          this.send();
      });
  });
  </code></pre>
  
  <p>im getting:</p>
  
  <blockquote>
    <p><code>Uncaught TypeError: undefined is not a function</code></p>
  </blockquote>
  
  <p>currently using: mootools-core: 1.5.1</p>