Local function call from UIWebview
<p>Hi i have an uiwebview, I have prepare the htmlstring format of data to load in webview.</p>

<p>I am using this line to load htmlstring in uiwebview.</p>

<pre><code>     [webView loadHTMLString:htmlstring baseURL:[NSURL URLWithString:[NSString stringWithFormat:@"file:/%@//",imagePath]]];
</code></pre>

<p>In the html formated string we have an one image button.When i click the image button i want to call one local function in ViewController.m file.</p>

<p>Is it possible ? Please help me .</p>

<p>I am using </p>

<pre><code>&lt;input type=""image"" onclick=""func()"" src=""icon_blog.png"" name=""image"" width=""30"" height=""30""&gt;

  &lt;script language=""javascript""&gt; function func(){alert(""hee"");}
</code></pre>

<p>But alert not shown in iphone . Any one help me ? Thanks in advance.......</p>
