Unable to get drop down value
Hi all,
I am new to this
implementing this in my asp.net website
have master page and content pages .On master page have included the latest library
<script type="text/javascript" src="jquery-1.10.2.min.js"></script>
on content page
this
<script language="javascript" type="text/javascript">
$(function() {
$("#ddlFreq").click(function() {
alert("sd");
});
});
</script>
<asp:DropDownList ID="ddlFreq" runat="server">
<asp:ListItem Text="-Frequency-" Value="0" Selected="True" />
<asp:ListItem Text="1" Value="1" />
<asp:ListItem Text="2" Value="2" />
<asp:ListItem Text="3" Value="3" />
</asp:DropDownList>
i want to show hide table row based on the drop down value change
<tr id="tr1">
<td>
1.
</td>
<td>
<asp:DropDownList ID="ddlHours1" runat="server" />
</td>
<td>
<asp:DropDownList ID="ddlMinutes1" runat="server" />
</td>
</tr>
2 and 3 table row..
but even the simple jquery function written above is not working