Skip to content
Advertisement

Pass data to javascript but got so many backslash

I’m passing data from my controller to javascript.

JavaScript

this is I do it in the blade

JavaScript

how can I remove the backslash in the JSON data?

Note: event column datatatype is JSON

I’m using LARAVEL 7

Thank you

enter image description here

Advertisement

Answer

Solved it by adding

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement