[jQuery] Re: Make textbox visible if checkbox is selected

2009-05-27 Thread ciupaz
Perfect, thank you heohni. L

[jQuery] Re: Make textbox visible if checkbox is selected

2009-05-27 Thread heohni
untested: $('#myText').hide(); // on default, hide textbox $('#myCheckbox').click(function(){ var checked_status = this.checked; if(checked_status == true) { $('#myText').show(); } }); On 27 Mai, 11:30, ciupaz wrote: > Hi all, > having a simple textbox: > > > > and a checkbox: > > > > how c