alert msg onclick event
<p>I am trying to invoke a button click from inside a .cshtml file:</p>

<pre><code>  &lt;input type="button" id="ImageHosting" value="To Image Hosting" onclick="ImageHosting_Click()"/&gt; 
</code></pre>

<p>This is the .js file:</p>

<pre><code> function ImageHosting_Click() {
               $("#ImageHosting").click(function () {
                   alert("test");
               });
       }
</code></pre>

<p>I am not able to get the alert message. Any idea why?</p>
