Originally Posted by knightCoder
and a downside to creating extra html elements which might not be used is that if you want to change say an option value then you have to go make that change in every single block of similar html code which would be a real pita if you have a large number
<grin>Well, if you have a really crappy program editor, maybe.</grin>
But any that support replacement using regular expressions should be able to do it instantly.
Look, I'm not arguing against the *concept* of creating dynamic forms. Goodness knows I have done it myself often enough. Just that if you look at his JS code, I think the learning curve to get to the point where he knows how to use document.createElement so it works (for example) in MSIE 8 when you want to create an <input type="file"> is...well, "steep" would be an understatement, methinks.
I hope you aren't suggesting he do it all by using innerHTML? No, I see you aren't, since you mentioned insertCell(), etc.