title: Javascript onfocusin event only in inputs
body: <p>i have a simple code with a <code>form</code> with <code>onfocusin</code>. This event is called when i focus <code>input</code>, and this is right. But the event is called too when i press <code>button</code>. How can i tell javascript to ignore this <code>onfocusin</code> event to <code>buttons</code>?</p>
  
  <p>Example below:
  <div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;form onfocusin="console.log('Input received Focus')"&gt;
        &lt;input placeholder="name"/&gt;&lt;br&gt;
        &lt;input placeholder="age"/&gt;&lt;br&gt;
        &lt;input placeholder="full name"/&gt;&lt;br&gt;
        &lt;button type="button"&gt;Send!&lt;/button&gt;
      &lt;/form&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Thanks.</p>