title: i have an issue in javascripts
body: <p><strong>hi</strong> i'am stil learning the basics in javascript i tried the flowing example:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE HTML&gt;
  
  &lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;Untitled&lt;/title&gt;
     &lt;meta http-equiv="content-type" content="text/html; charset=utf-8"&gt;
  
  &lt;/head&gt;
  
  &lt;body&gt;
      &lt;script type="text/javascript"&gt;
             function name(){
                  alert('ffff')
             }
       &lt;/script&gt;
  
     &lt;form action="#" method="post"&gt;
          &lt;input type="text" onclick="name()" /&gt;
     &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>When i run it nothing happned, i tried other event such ondblclick onmouseup ... but nothing also i have tried this in many browser but stil nothing .. did i do something wrong ? thanks and sorry for bad english</p>