Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

using express js response render parameter in ejs script tag as a variable in node js

    var a = '<%= token ;%>';
    console.log("value is...: "+a);
 
PREVIOUS NEXT
Tagged: #express #js #response #render #parameter #ejs #script #tag #variable #node #js
ADD COMMENT
Topic
Name
4+2 =