I have a form that's calculated on the go. (below picture)
So that table gets created with jQuery & Ajax working with PHP. I want to implement a PDF library that can print that correctly. The tricky part is that I don't know the best way to send that whole table (along with CSS of it in header) to an another PHP file through POST method so that file takes it in and places it inside where it needs to go to PDF get created correctly. What's the best way to go about this?
Process for the table is, first enter dates then select company then click view. At this point, the table gets created, once you click to report it is supposed to create a pdf.
Note to whomever marked this question duplicate: Whoever marked this duplicate, did you really read that other ticket? The other one pure HTML + CSS. I am talking here a page created HTML + CSS and manipulated using AJAX and jQuery! I really don't get people who don't read questions and randomly mark them as duplicate, this has nothing to do with that other question!