title: click to element in iframe run function in document
body: <p>I'm trying to this</p>
  
  <pre><code>&lt;span id="name-test" class="editable"&gt;test&lt;/span&gt;
  &lt;script type="text/javascript"&gt;
   $('.editable').click(function() {
    alert($(this).attr('id'))
   });
  &lt;/script&gt;
  </code></pre>
  
  <p>but inside iframe like this</p>
  
  <pre><code>&lt;iframe src="source" id="iframe"&gt;
   {{-- This is content of source --}}
   &lt;span id="name-test" class="editable"&gt;test&lt;/span&gt;
  &lt;/iframe&gt;
  &lt;script type="text/javascript"&gt;
    $('.editable').click(function() {
     alert($(this).attr('id'))
    });
  &lt;/script&gt;
  </code></pre>
  
  <p>any idea if it's possible? 
  Thanks</p>