how to call the javascript function on table row click
<p>I have a javascript function..</p>

<pre><code>&lt;script type="text/javascript"&gt;
    var RowClick = function() {
        $("#mytable").click(
        $("#showgrid").load('/Products/List/Items/'));
    };
&lt;/script&gt;
</code></pre>

<p>Can I call this function on onclick event on tr?
I am calling something like this?</p>

<pre><code>&lt;tr class="something" onclick="javascript:RowClick()');"&gt;
can i call like this? if I call its not loading the URL?
</code></pre>

<p>can anybody help me out?</p>

<p>thanks</p>
