Hi i have a radiobutton list and on click on the radio button item i have to change text of a label. But for some reason its not working. Code is below
<asp:Label ID="lblVessel" Text="Vessel:" runat="server" ></asp:Label>
<script language="javascript">
$(document).ready(function() {
$('#rblDiv input').click(function()
{
var selected= $("#rblDiv input:radio:checked").val();
if(selected == "exportpack")
{
$('#lblVessel').text("NewText");
}
});
});
</script>
Please Advise