Michael Harris (MVP) wrote:
Davey wrote:
Is it possible to add new form controls such as <select> and <input>
controls using JavaScript - all client-side and on-the fly?
createElement Method (document) (Internet Explorer)
The createElement method is part of the W3 standards and is not specific
to IE.
http://msdn.microsoft.com/workshop/a...ateelement.asp
That is a very ordinary reference that suggests using <script> elements
without the require type attribute and eval when it is completely
unnecessary. It also suggests links to other methods that are IE only
and will likely not work on browsers other than IE.
Better to search this newsgroup for examples of 'document.createElement'
- there are over 1,300 of them.
Sort by date and work from there.
<URL:http://groups.google.com/group/comp.lang.javascript/search?hl=en&group=comp.lang.javascript&q=document .createElement+&qt_g=1&searchnow=Search+this+group >
--
Rob