Data dodania Pytanie
2017-05-12 01:05 How to use ejs template which is stored in variable but not a file? »
Originally, I have an ejs template like <!DOCTYPE html><html>other complex and long ejs and html codes here</html>. After escape...
(0) odpowiedzi
2017-05-11 15:05 EJS TreeGrid not working »
I was trying to work with EJS TreeGrid but I am not able to show the grid on browser. I can't add the TreeGrid code in my HTML code properly. I have...
(0) odpowiedzi
2017-05-11 05:05 EJS Lint Object Return Value »
I was trying to look for syntax errors in an EJS template when, I found ejs-lint module at the npm repository. I am trying to use it to identify synta...
(0) odpowiedzi
2017-05-10 12:05 node js how to assign two collection data into a single object to render on views »
I'm creating a simple news article application for my own practices. So I created two schemas to do this in mongoose. Now I'm trying retrieve data fro...
(1) odpowiedzi
2017-05-10 11:05 How does Express view caching mechanism work? »
Could someone please explain to me how does Express view caching mechanism work? On the Stackoverflow I've found this article with this answer. Ho...
(0) odpowiedzi
2017-05-09 06:05 Redirect and Render using Express »
When I hit my api I want to redirect my url from https://myapp.herokuapp.com/token/aaa.bbb.ccc to https://myapp.herokuapp.com/messages/:id. I also wan...
(2) odpowiedzi
2017-05-08 19:05 Create dynamic html with ejs and node »
I am trying to send dynamic mail to email IDs submitted using a form. Below is my app.js code. //Importing Packages var express = require('expres...
(1) odpowiedzi
2017-05-06 21:05 a href not concatenating (nodejs, ejs) »
I have some trouble with some buttons that don't go to the correct route. I have an overview of items with a details button. When I click on it the ro...
(1) odpowiedzi
2017-05-06 13:05 Form with Post Method and enctype Multipart/form-data is not being submitted on Nodejs Express multer module »
I am using : "ejs": "^2.5.6", "express": "^4.14.0", "express-validator": "^3.2.0", "multer": "^1.3.0", My form is : <form id="offer-form" ...
(1) odpowiedzi
2017-05-04 23:05 Change View and UI with AngularJS »
i got 2 views and i want to switch between them. My first view (index.ejs) looks like this and is a dashboard for all users before they login (OnePag...
(2) odpowiedzi
2017-05-03 18:05 Nodejs boolean initialization »
I am trying to make a field visible/invisible depends on a boolean value. The code is being compiled before on the 'catch' part before I take any act...
(0) odpowiedzi
2017-05-03 17:05 occasional esc is not a function in ejs »
i am have trouble figuring out this problem of mine, here is part of my ejs code <div class="row"> <% for (var i = 0; i < posts.len...
(0) odpowiedzi
2017-05-03 00:05 Multiple lines in ternary operator clause with EJS »
I'm trying to use a multiple line ternary clause to conditionally render different content on the page depending on whether or not the currentUser is ...
(1) odpowiedzi
2017-05-02 18:05 Integrate @angular/cli with server-side EJS templates »
Goal: Modify Open Graph meta tags when web crawlers visit different routes. I know Angular2 4.0.0 has a MetaService, and there is always jQuery, but ...
(0) odpowiedzi
2017-05-02 02:05 How to call a Object.keys as a variable not a text in array.push? »
Help my problem is when the program runs, the values on Object.keys is on text, and i want it on variable form so it will call it on the EJS. the out...
(0) odpowiedzi
2017-05-01 19:05 How do i get to dynamically refresh JSON data in an EJS tag »
I'm currently working on an node/express app that shows several informations about the ISS. I'm using an API shared by the NASA returning JSON data. ...
(1) odpowiedzi
2017-05-01 13:05 webpack html-webpack-plugin EJS If conditional statements error »
I'm using html-webpack-plugin to produce a html version of a ejs template. I'm using the ejs on staging and for Dev, but on production there needs to ...
(1) odpowiedzi
2017-05-01 09:05 I have an EJS Syntax Definition For Sublime Text - How Do I import it into Sublime 3? »
I have a Syntax definition for Sublime Text 3 I'd like to import for Win 10. But I'm not sure how to import the files I've located on GitHub for .EJS...
(1) odpowiedzi
2017-04-30 07:04 holedata is not defined while loading ejs file after res.render »
I am inserting the data into mongodb and then page rendering to success.ejs. In the success.ejs file I gave one link. When click link in the same succ...
(1) odpowiedzi
2017-04-29 21:04 In the browser showing empty while fetching data from mongodb and send to my getdata.ejs file »
My index.js file get method app.get('/getdata', function(req, res){ var resultArray = []; mongo.connect(url, function(err, db){ assert.equal(...
(1) odpowiedzi
2017-04-28 20:04 Sending dynamic variable to jquery »
I have a table that is built dynamically with EJS template. I want to pass a dynamic value to a jQuery function when the user clicks on the button. T...
(2) odpowiedzi
2017-04-28 18:04 How can i generate a .ejs file to pdf in NODEJS with angularjs? »
I am creating a project in nodejs with AngularJS and a MySQL database. I want is to display information from the MYSQL table in a PDF, similar to a re...
(1) odpowiedzi
2017-04-27 18:04 Data in redirected page is updated only after refresh (node.js) »
I have a node.js website that i build with this tutorial: https://scotch.io/tutorials/easy-node-authentication-setup-and-local I update some data in ...
(0) odpowiedzi
2017-04-26 12:04 Post data on another page in nodejs »
I'm new in nodejs. I'm trying to make login form using ejs engine. What I want is simply print the username and password in the welcome screen using p...
(4) odpowiedzi
2017-04-26 11:04 ejs.renderFile keeps logging output to stdout »
I have a project using Express.JS with EJS as view engine. Whenever I run ejs.renderFile, either directly or with res.render, the generated function b...
(1) odpowiedzi
2017-04-26 08:04 EJS Variable Not Displaying »
I'm working on a random quote machine. Here's my NODE stuff: var express = require("express"); var app = express(); app.set("view engine", "...
(0) odpowiedzi
2017-04-25 12:04 EJS Static css files stop working when i pass reference parameter in URL »
I am using ejs template engine and express js (node js), when i pass the reference parameter in url, static css files stops work ...
(1) odpowiedzi
2017-04-25 10:04 Send value from backend to frontend in Sails.js and check with EJS »
I'm trying to submit data from a form, then from the controller there are 3 possibilities, it already exists, the data is wrong and it was successfull...
(1) odpowiedzi
2017-04-24 19:04 Routing by back end (nodeJs) or front end (angularJs) »
today I have a very important question to ask from people experience in javascript and their respected frameworks. I am creating an application in no...
(0) odpowiedzi
2017-04-24 17:04 Building an inbox system using Express/MongoDB »
I have been developing an app for renting flats for a personal project of mine. I have been wondering about how to build/implement an inbox system to ...
(1) odpowiedzi
2017-04-22 12:04 blob link not found using recorderjs »
I am using the Recorderjs by mattDiamond to record an audio wav file. I am following this code :https://github.com/tmtxt/web-audio-example . The code ...
(0) odpowiedzi
2017-04-21 23:04 EJS in rails production not compiling properly »
I have a rails app that uses EJS templates. It is running perfectly on development, but in production, it acts like the EJS processing step is skipped...
(0) odpowiedzi
2017-04-21 19:04 Sails.js - Issues with controller »
I'm developing a controller to parse JSON from SoundCloud's API, using the following code (SoundCloudController.js), in order to retrieve some data. W...
(1) odpowiedzi
2017-04-21 10:04 passportjs local connectflash not working with ejs »
I have a project using passportjs fully working, but not showing flash messages. The passportjs file looks like this: passport.use('local-login', ...
(1) odpowiedzi
2017-04-20 19:04 Ajax with include in ejs »
When i try to add include in my ejs file its working fine. HTML report.ejs <tbody> <%- include('include/playersTable')...
(0) odpowiedzi