title: Call function on div click
body: <p>I am doing this: <code>&lt;div onclick='alert("xxx")'&gt;Click me!&lt;/div&gt;</code> and i see that alert but i want to call on function inside that onclick.
  I'm trying this but it doesn't work.</p>
  
  <pre><code>  function GetContent(prm){
      alert(prm);
    }
  
    &lt;div onclick='GetContent("xxx")'&gt;Click me!&lt;/div&gt;
  </code></pre>
  
  <p><strong>I need to call that function inline not assign an id or class to that div and use jquery.</strong> What is the solution?
  Thanks</p>