> Hello. I am building a webform which will be used to enter the names > of people, then hit a submit button to send the data to the server. I > have a button which uses jquery to append input fields to the form on > the fly. Hit the button, get another text input field. These input > boxes are correctly attaching themselves as children of the #names > div. > > My #names div is inside of my form in my HTML file: > <form> > <div id="names"></div> > </form> > > But firebug is always putting my form in a table at the end of my dom, > leaving the text inputs which are appended outside of this form, > therefore not being given to the server when the form has been > submitted. > > Can anybody point out to me why?
There must be bad markup in there somewhere. Perhaps an unclosed tag. Can you post a link?