Use this JavaScript to add HTML controls to your forms. This example uses the <input> tag.
Over 2000+ free Javascript at JavaScriptBank.com Website
Dynamic creation of input boxes