How to call javascript function on table row row
I have a javascript function.
<script type="text/javascript">
var RowClick = function() {
$("#mytable").click(
$("#showgrid").load('/Products/List/Items/'));
};
</script>
Is it possible to call this function on an onclick event in tr? Am I calling something like this?
<tr class="something" onclick="javascript:RowClick()');">
can i call like this? if I call its not loading the URL?
Can anybody help me?
thank
+5
2 answers