0
Web programming
How can i select data from table and insert them to another table by clicking on a hyperlink( the two tables are in the same database) Example: click on accept(hyperlink) >>accept the student and insert the accepted students into another table
1 Respuesta
+ 1
you need to handle event listeners and select element (TD -- Table Data / cell) through DOM: then you will be able to got the textContent / innerHTML / childNodes / children properties and move them to another selected element...
provide your code if you need more accurate help, or say if you need some JS specific references (or dive yourself in web / mdn website to find relevant information ;P)
https://developer.mozilla.org/en-US/docs/Web/JavaScript
https://developer.mozilla.org/en-US/docs/Web/API/Document_Object_Model