I'm just starting out with JavaScript and could really use some help. Here's the situation: I have a group of hyperlinks that are supposed to show an image when clicked, but it isn't working. Can someone assist me?
<td>
<asp:HyperLink ID="hyplnkcat" Text='<%#Eval("CategoryNameEn") %>' onclick="return MakeVisible(imgselect);" runat="server">HyperLink</asp:HyperLink>
<asp:Label ID = "countcat" Text='' runat ="server">countcat</asp:Label>
<asp:ImageButton ID="imgselect" runat ="server" Visible ="false" CommandArgument ='<%#Eval("CategoryNameEn") %>' ImageUrl="images/arrow_black.gif"/>
</td>
<td>
<asp:Literal ID = "litcat" text='<%#Eval("CategoryCode") %>' Visible ="false" runat ="server" ></asp:Literal>
</td>
.
.
.
<script type="text/javascript">
$("#hyplnkbrand").click(function MakeVisible(imgselect) {
$("#imgselect").show("slow", function() {
// Animation complete.
});
});
</script>