Support the ongoing development of Laravel.io →
Input Views Forms
Last updated 2 years ago.
0

It sounds like very bad idea. Generation of any code to be executed is considered dangerous and just clumsy approach in most cases. Why don't you return raw data (like JSON) and then combine it to jQuery code in proper JavaScript file?

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

idevstuffs idevstuffs Joined 30 Aug 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.