Please write the code between backticks, otherwise it is unreadable.
```
your code here
```
Are you using a CSS framework ?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am trying to generate a PDF with dompdf in Laravel 5.1 but I have a problem when it loads the html content. Apparently it does not finish loading complete parts that I add to the html content from Javascript using: $('#contenido_tabla').append(insert_table); When I perform a return $view; in my controller before generating the pdf, everything seems to be fine, it loads the content correctly. The problem arises when you do the loadHTML. The mentioned content no longer appears. Perhaps I am making a mistake or perhaps it is not possible due to some factor, I am attentive to any collaboration, thanks in advance.
It doesn't seem to let me load javasript in my view
Please or to participate in this conversation.