Two tables, one page...
Two tables, one page...
Is it possible to have 2 tables in one page where:
* They use different Ajax sources and have different data types and columns.
* Table 2 is empty, or even better, hidden, until user makes a row choice in table 1. That choice triggers the Table 2 to call it's ajax src and load the data for it. So the ajax source for table 2 need to have an additional GET or POST (hidden field?) so the php know what data to load.
* Both tables will need their own separate add, edit and delete.
I have everything working fine in Table 1 and now want to load subdata in table 2 for viewing and editing.
This question has an accepted answers - jump to answer
Answers
OK, found another thread that gave me a working solution. Here's how for later reference: