```
<script type="text/javascript" language="javascript">
function enabletxt(){
    document.getElementById("chkAssociation").innerHTML="<input type='text' value=''>"
}
</script>
Hobbies:  <input type="checkbox" name="hobbies" value="Dancing">Dancing
<input type="checkbox" name="hobbies" value="Painting">Painting
<input type="checkbox" name="hobbies" value="Others" onChange="javascript:enabletxt();" ID="chkAssociation"  runat="server" />Others

```