1. Home
  2. Computing & Technology
  3. JavaScript
Stephen Chapman
Stephen's JavaScript Blog

By Stephen Chapman, About.com Guide to JavaScript

Dynamic Forms

Friday November 13, 2009
JavaScript can add complex HTML to a web page

A new addition to my library of scripts that you can use on your own site is my new Form object script which provides you with an object that has simple to use methods to create a form with all the form field types you are most likely to want to use (it doesn't handle file inputs or optgroups but most of the time you will not need those). The object uses standard DOM calls to add the form into your web page as well as providing plenty of ways to reference the fields from your stylesheet in order to format it the way you want.

Dynamic Forms
Comments

No comments yet. Leave a Comment

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore JavaScript
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. JavaScript

©2009 About.com, a part of The New York Times Company.

All rights reserved.