This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

fededark1702
fededark1702

Is it possible to store

{% partial "partial_name" %}

in a JavaScript's variable?

If I try to do

var var_name = {% partial "partial_name" %};

browser's console return me an "Uncaught SyntaxError: Unexpected token <"

Last updated

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.