开发者

Interactive table

开发者 https://www.devze.com 2022-12-13 06:40 出处:网络
I need a interactive table. By word interactive I mean \"I should be able to add rows and delete them from table\".

I need a interactive table. By word interactive I mean "I should be able to add rows and delete them from table".

Above table I have input fields. So script should take value of each input field and add to table. But in the table should be a 开发者_JS百科cross (for deleting rows), and once I click on it row gets deleted.

Also I must somehow pass all rows to PHP script.

How can I do all of that?


For the add/remove rows part : append remove

Getting values of inputs is pretty obvious using val.

Write some code and if you're stuck again, come back and edit your post with your code.

0

精彩评论

暂无评论...
验证码 换一张
取 消