title: Error in html file with Javascript onBlur event
body: <p>I'm reading a tutorial of Javascript, I'm making a html file with a javascript function with a box, the fact is that the alert does not show what goes into the text field, what am I doing wrong ?, this is my code. I'm not entirely clear, how it handles the event onBlur, someone explain more about it? as in the tutorial the only explanation they give is "Losing the focus control," I don't know what they mean by the word focus, or how it is handled the text box, without enter botton.</p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;
          &lt;script&gt;
              function show ()
              {
              var age= parseInt (cage.value);
                  if (age&lt;=18)
              alert("access denied");
                  else
              alert("Welcome");
              }
          &lt;/script&gt;
          &lt;title&gt; New Page I &lt;/title&gt;
      &lt;/head&gt; 
  
      &lt;body&gt;  
          Age: 
          &lt;input type="text" id "cage" name="cage" size="10"
      onBlur=show();&gt; 
  
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>