Please help!! I want create a table with tr and td, and i'd like to have a button on my html , that people can click | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please help!! I want create a table with tr and td, and i'd like to have a button on my html , that people can click

I think i should use php or js, but i don't know how create a td inside a tr with php or js...

12th Apr 2018, 4:17 PM
Anderson Schwartz
Anderson Schwartz - avatar
1 Answer
0
If you are using jquery you can use the .add() method. .after() works as well. You enter the element selector you want to address to append to then call the append function with the text or elements you want to add after it.
12th Apr 2018, 7:17 PM
Harry Gray
Harry Gray - avatar