title: Alert will not work with vuejs
body: <p>I am following <a href="https://laracasts.com/series/learning-vue-step-by-step/episodes/3" rel="nofollow">https://laracasts.com/series/learning-vue-step-by-step/episodes/3</a>. I'm working with netbeans 8.1. The alert in the vue object does not occur when I press the submit button, instead the default html action of done.html occurs. The only error in the console is :</p>
  
  <pre><code>GET http://localhost:8383/favicon.ico net::ERR_EMPTY_RESPONSE
  </code></pre>
  
  <p>My code is right out of the webcast:</p>
  
  <pre><code>    &lt;!DOCTYPE html&gt;
      &lt;!--
      To change this license header, choose License Headers in Project Properties.
      To change this template file, choose Tools | Templates
      and open the template in the editor.
      auth0.com/blog/2015/11/13/build-an-app-with-vuejs/
  
  
      --&gt;
      &lt;!--&lt;html&gt;--&gt;
          &lt;head&gt;
              &lt;title&gt;TODO supply a title&lt;/title&gt;
              &lt;meta charset="UTF-8"&gt;
              &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
              &lt;link rel="shortcut icon" href=""&gt;
  
  
  
  
          &lt;/head&gt;
          &lt;body&gt;
              &lt;div id="app"&gt;  
                  &lt;form action="done.html"&gt;
  
                      &lt;button type="submit" v-on:submit="handleIt"&gt;        
                      &lt;!--&lt;button&gt;--&gt;        
                          submit me!!       
                      &lt;/button&gt;
  
  
  
  
  
                      &lt;pre&gt; {{$data|json}}&lt;/pre&gt;
                  &lt;/form&gt;
  
  
  
              &lt;/div&gt;
  
              &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/vue/1.0.12/vue.js"&gt;&lt;/script&gt;
  
              &lt;script&gt;
  
      //            var data = {message: "hi there"}
  
              new Vue({
                  el: '#app',
                  methods: {
                          handleIt: function()
                              {alert('hgjfhgjf');}
                      }
                  });
  
              &lt;/script&gt;
          &lt;/body&gt;
      &lt;/html&gt;
  </code></pre>
  
  <p>What am I doing wrong?</p>