I currently have following codes
<code data-bind="text: xxx, highlightable: true"></code>
And I want to bind something like App::Application::CONFIGURATION[:url]
into text
of the data-bind
I tried <code data-bind="text: <%=App::Application::CONFIGURATION[:url] %>, highlightable: true"></code>
but it didn't work.
Hope that someone can help me solve this problem. I appreciate your help!
Aucun commentaire:
Enregistrer un commentaire