Please refer to the following code:
<input id="sb" checked>
<div id="cc">
<input id="tt" class="easyui-textbox">
</div>
<script type="text/javascript">
$(function(){
$('#sb').switchbutton({
onChange: function(checked){
if (checked){
$('#cc').show();
} else {
$('#cc').hide();
}
}
})
})
</script>