How to insert a html form tag in a row?

How to insert a html form tag in a row?

mkadusalemkadusale Posts: 10Questions: 0Answers: 0
edited March 2012 in General
Good Day!

What is proper way to insert a html form tag in a row? Like when you edit or add a row http://datatables.net/examples/plug-ins/dom_sort.html
Like




Save



Thanks in advance.

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    No that isn't valid HTML - only TH and TD cells can be children of a TR. Basically it is not a trivial problem to solve with just HTML since the FORM needs to wrap the whole table - thus it would encompass all of your rows. Possibly the only way of doing this with correct HTML would be to use Javascript to set up a form else where in the document and submit that.

    Allan
  • mkadusalemkadusale Posts: 10Questions: 0Answers: 0
    thanks
This discussion has been closed.