title: Can I use onclick() event inside image tag?
body: <p>I am trying to call the function by this way, but onclick() is not working  in the below code.</p>
  
  <pre><code>&lt;img id="myImg" src="uploads/15051139151863de8020740a7899d26ead30d24770.jpg" onclick="modalview()" width="300" height="200"&gt;
  </code></pre>