I tried to show and hide a button in <fieldset>
by a javascript function.But it is not working.I did not find my mistake.
My FieldSet :
<fieldset class="buttons">
<dx:ASPxButton ID="btn11" runat="server" Text="Buton 1">
</dx:ASPxButton>
</fieldset
My checkbox :
<input class="checkbox" id="ShowHideButton" name="ShowHideButton" type="checkbox"
onchange="valueChanged()"/>
<label for="ShowHideButton">ShowHideButton</label>
And my JavaScrip func.
<script type="text/javascript">
function valueChanged()
{
if ($('#ShowHideButton').is(":checked"))
$(".buttons").show();
else
$(".buttons").hide();
}
</script>