title: How does the `data-include` attribute likely work?
body: <p>I'm analyzing a site and I see that there is a <code>data-include</code> attribute on a div.</p>
  
  <p>I see that <code>data-</code> is part of the HTML 5 spec according to a Resig article.</p>
  
  <p>I can also see that the div is being replaced by some response HTML as it fires off an xhr request to the server.  This mechanism is basically used to load modules client side.</p>
  
  <pre><code>&lt;div data-include='some.path'&gt;&lt;/div&gt;
  </code></pre>
  
  <p>The question I have is how is the XHR fired off?</p>
  
  <p>I'm used to accessing the DOM via IDs <code>#</code> or classes <code>.</code>, or selectors of some sort.</p>
  
  <p>I see no selector so I can't figure out how it is done?</p>
  
  <p>Here is a list of js according to Chrome</p>
  
  <p><a href="https://i.stack.imgur.com/ImypM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ImypM.png" alt="enter image description here"></a></p>