I searched everywhere for an answer to this question, and maybe the answer is this: it does not exist, but hopes that someone has some kind of magic.
I use Knockout to link multiple forms on a page. It all works fantastic. However, trying to submit these forms to a PDF converter was a daunting task.
Rendered HTML is still displayed Knockout-y. I tried to get the processed DOM using $ ('body'). Html (), but I still get HTML tags with data binding attributes. Is there a way to get the final visualized clean HTML code to go to the PDF converter?
source share