I hope this would be clear enough and sorry for my bad English.
I have a node js server. The server should load configuration from DB and get a template from remote source and render the template with the configuration loaded.
The template is pretty simple HTML page with some onclick events.
I choose the template engine to be Handlebars (I hope this right)
but this is my problem : I need all event listeners to be loaded from the remote source as well.
How do I do this? Can I put a script tag inside hbs file? Is Handlebars was the right choice for me?
via anna
No comments:
Post a Comment