I've got a basic bootstrap-table displayed. When I click on a cell, I'd like a modal to open with the deviceId of that row, and the results of the "function" cell. If there is nothing in the "function" cell, the modal would still load and allow me to enter data for that cell. Once the modal is open, I'd like to either edit and then save the data, or cancel. I've reviewed several of the other questions asked on this forum, but none seem to have the answer. The modal loads, but there is no data there to edit. The correct data is being returned via php (I can see this in Firefox' console), but nothing is displayed). Here is my table:
And my modal:
This is my jquery to load the modal, which is does. The problem is it does not load the cell data.
And my getFunctionData.php: |