Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to export value of a global variable in ejs fileto node module?

    • 0
    • 0
    • 0
    • 2
    • 0
    • 0
    • 0
    • 11
    Answer it

    Hi .. I am a newbie to node.js . What I am trying to do is export value of a global variable in my ejs file , if the value is greater than 1 , insert data otherwise just display it . Now I can't find a way to use that value in my node module . Please help . Thank you !  

 2 Answer(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: