Deleting textbox


Is there a way to delete a textbox?

I found some codes that deletes textbox, but those textbox that can be deleted where just added.

I want to delete a textbox that was originally created in the code not by a button. thanks.

The removeChild() js DOM method will do that for you.