Form Submit button only works after reload

前端 未结 6 1369

I have an index page that builds a table, and I am trying to allow users to edit line\'s in the table. I am trying to do this in the most basic way possible - no javascript

6条回答
  •  情深已故
    2020-11-29 09:41

    This type of error is most frequently one generated by invalid HTML. Various sources of errors can be:

    • missing < or >
    • HTML tag not closed
    • orphaned HTML closing tag (where no opening one is related); in complex forms I've had extra
    s lying about...
  • Forms nested within table or tr tags (within td is allowed)

The form helpers need to be properly nested, otherwise these quirks will bite you...

提交回复
热议问题