untested:

<input id="myText" name="myText" type="text" />

$('#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 <luigi.zambe...@gmail.com> wrote:
> Hi all,
> having a simple textbox:
>
> <input id="myText" name="myText" type="text" visible="false" />
>
> and a checkbox:
>
> <input name="myCheckbox" id="myCheckbox" type="checkbox"  />
>
> how can I make the textbox visible if the user select the checkbox?
>
> Thanks in advance.
>
> Luis

Reply via email to