Home > Blockchain >  How to render blade html with javascript execution. (Laravel and Blade)
How to render blade html with javascript execution. (Laravel and Blade)

Time:11-18

I need get content html from report view, but someone elements is making by javascript how to populate div.

On laravel i using view('report')->render(); but return only empty div:

<div id="report"></div>

The render not execute my javascript functions, exists one solution for this?

I need get content html with DOM elements complete render via javascript function

CodePudding user response:

JavaScript is client sided, it cannot execute unless you open it in browser. So, there is no possible way to retrieve data with render() that is populated by JavaScript

  • Related