Hey Guys,

I have a page that displays information for a given user. I have an "Update" button and when the user clicks it, I want to have a textbox (form) appear below the button. How would I do that?

Here's what I have:

<input type="button" class="button" value="Update" onClick="newFunk();">

<input name="tada" type="button" class="button" value="Tada" style="visibility:hidden">

And the function:

function newFunk(chosen) {
document.myForm.tada.style.visibility = 'visible';
}

Any idea what I'm doing wrong?

Thanks.