title: How to get div onblur event to execute a javascript function?
body: <p>Hi
  I have a div that contains three textboxes , i need a function to be called once the control is out of the div tag, I don't want to use the onclick event because the focus can be moved out of the div by pressing the tab key on the keyboard or some other way.
  I would also like to know if there is a way to achieve this using any javascript libraries like jquery.</p>
  
  <p>Thank you, this is the sample html code</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;Div Onblur test&lt;/title&gt;
  
      &lt;script type="text/javascript"&gt;
          function Callme() {
              alert("I am Called")
          }
      &lt;/script&gt;
  
  &lt;/head&gt;
  &lt;body&gt;
      &lt;div onblur="javascript:Callme();"&gt;
          &lt;input type=text value ="Inside DIV 1" /&gt;
          &lt;input type=text value ="Inside DIV 2" /&gt;
          &lt;input type=text value ="Inside DIV 3" /&gt;
      &lt;/div&gt;
       &lt;input type=text value ="Outside DIV" /&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>