Issue with webview
<p>In my application i use a mix of html and native. In my web view i load a html page which has a which has an image in it. On click of the image i call a java script function which in turn calls the native code. My html tag is as below:</p>

<pre><code>&lt;img onclick=nextLevel('0'); id="d2"&gt;
</code></pre>

<p>My javascript method is as below:</p>

<pre><code>function nextLevel(index) 
</code></pre>

<p><code>{
       Android.displayNextLevel(index);
    }</code></p>

<p>Within the displayNextLevel method i start the next activity. The issue is when i click on the image on the html page multiple times the event gets triggered multiple times and the activity opens up multiple times. Am i missing out on something? How do i overcome this issue? Kindly help me with this. Thanks in advance.</p>
