Data dodania Pytanie
2017-09-27 19:09 How to deploy a ejs file on a server on a subdomain? »
I am trying to deploy a GitHub repo onto a server which has a subdomain. I want the file to be accessible when I visit the sub domain. How do I do t...
(0) odpowiedzi
2017-09-27 12:09 How can i serve index.ejs using webpack? »
Need to serve index.ejs instead of index.html for dev environment using command webpack-dev-server. Please give suggestions ...
(1) odpowiedzi
2017-09-27 07:09 Unable to print date format in nodejs using ejs with mysql »
this is the date format im getting from db. All i want to explode into two numbers 7:00-8:00 //array[0]=7:00 and array[1]=8:00 9:00-9:30 14:30-1...
(1) odpowiedzi
2017-09-26 23:09 Failed prop type: The prop `userSignUpRequest` is marked as required in `Login`, but its value is `undefined` »
Im trying to create a React Component using Redux and with functions userSignUpRequest I follow a tutorial but still getting the error: I think is pos...
(2) odpowiedzi
2017-09-26 10:09 React unique key when mapping warning »
I'm quite new to react and I'm facing a problem I can't solve. Here is my react component: import React from 'react'; import Header from './Header'; ...
(3) odpowiedzi
2017-09-24 17:09 how to make ejs template passed to bootstrap modal does show up in browser? »
I'm new to node JS and web development. This is a pet-project I'm working on to sharpen my skill. I have a problem to show ejs data in bootstrap modal...
(0) odpowiedzi
2017-09-24 13:09 Accessing table rows in EJS template on POST request route from inside Node.js »
I have a product order form in which the user fills the data and that data is then added to a table row and the fields are cleared, so he can add anot...
(0) odpowiedzi
2017-09-23 07:09 EJS Inline DOM Selector Undefined »
I'm using Node.js, Express, Chart.js and EJS for templates. I want a template that gets passed a variable with a list of objects. Each object defines ...
(1) odpowiedzi
2017-09-23 01:09 Is there any way to save HTML element class changes made by Jquery in a generated EJS file? »
I have a to-do list node project, where each to-do list is saved as an entity in MongoDB, like so: var todoSchema = new mongoose.Schema({ items: [S...
(1) odpowiedzi
2017-09-22 21:09 Debugging JS in an EJS file using WebStorm »
Maybe I'm just prejudiced by my time using Java servlets and JSPs, but most IDEs I've ever spent any time with were actually able to place and trigger...
(0) odpowiedzi
2017-09-22 06:09 NodeJS + EJS + Promise : page is not displayed until the promise is fulfilled »
I retrieve data from a web service in a promise and display it using EJS. The problem is that the HTTP page is not displayed until the promise is fulf...
(2) odpowiedzi
2017-09-20 13:09 How can I render .ejs file from node.js controller? »
I have the following folder structure: bin controllers models node_modules public routes views app.js package.json As I am new to node.js and expres...
(2) odpowiedzi
2017-09-19 23:09 Could not find include include file »
I'm running a simple server var express = require('express') var app = express() app.set('view engine', 'ejs'); app.use(express.static('public')) ...
(1) odpowiedzi
2017-09-19 21:09 NodeJS opening a new window when rendering ejs file »
Is there any way to render an EJS file to a new window in client side? Thanks ...
(0) odpowiedzi
2017-09-19 07:09 failed to retrive result from firebase-nodejs XHR error in my dev tools(network)Chrome »
i got this error in chrome Cannot GET /genres/delete/-Ku4T2XCMDIERd2WyCsn xhr error 404 and gave me the name of my jquery file dunno what the problem ...
(0) odpowiedzi
2017-09-18 20:09 What happens if a property is assigned to a fallback and a default has not been specified? »
Per the following JavaScript, what happens if a property is assigned to a fallback and a default has not been specified for the fallback? JavaScript ...
(2) odpowiedzi
2017-09-18 12:09 Express.js - get selected item rows from a table in ejs »
I'm trying to get selected rows from a table in express js. Here is a html+ejs table code I have in my ejs view file. I'm trying to get only the rows...
(0) odpowiedzi
2017-09-17 18:09 Iframe content is a text not html code »
I have a problem with iframe. I added HTML code (string - I get that code from DB) in the <body> of iframe but I can't see that code as HTML, it...
(2) odpowiedzi
2017-09-17 18:09 Print the json data passed from node JS to EJS in string format rather than JSON sytax »
This is my document schema: { "_id" : ObjectId("59b96cf0137127b27c5cd7fb"), "theatreid" : 10, "name" : "inox raghuleela ", "location"...
(2) odpowiedzi
2017-09-14 04:09 ejs, how to add dynamic attributes of html tag? »
I use express.js + ejs, I have two cases: 1. <a href="<%= prevDisabledClass ? '' : ?page=<%=+page - 1%>%>">prev</a> But it...
(1) odpowiedzi
2017-09-13 15:09 Loop Through Array With Node.JS and EJS »
I am trying to make a todo app with Node.js using EJS as a templating engine. All the objects are in 3 arrays: subject, date, and detail. They are in ...
(1) odpowiedzi
2017-09-12 18:09 Controlling whitespace in EJS »
I have a conditinal to check if a users is not signed in then a class is added to a td element. The EJS looks like this: <td class="<%...
(1) odpowiedzi
2017-09-12 14:09 Unable to render user object to EJS view header.ejs »
I am new to EJS and Node.js. I have been struggling to send the user object data to ejs template page. Actually, I want to display the current user's...
(2) odpowiedzi
2017-09-12 06:09 How to have component level data in EJS using Webpack »
I am using ejs using htmlWebpackPlugin for webpack. At the moment I have json file per each page and its working OK. However I am doing another websit...
(0) odpowiedzi
2017-09-11 20:09 How do I get a list of properties from my EJS template? »
I'm storing response strings in a database in EJS form and filling out the data in Node. What I want to do is be able to use any property I want, no m...
(2) odpowiedzi
2017-09-11 17:09 How to separate angular + ejs app from node »
I have web application which is developed using ejs + angularJs 1.0 and running in node server. Since these ejs + angular provides only static files, ...
(0) odpowiedzi
2017-09-11 09:09 How to show value from expression using EJS template »
I'm using EJS template in Nodejs While printing value I have give below <%= JSON.stringify(users.emails) %> <h2> Hello, [{"value":"em...
(2) odpowiedzi
2017-09-09 19:09 How to display parsed data from ajax in express.js »
I have this page made using node.js + express where I am displaying the following table : I wish to reload only the table with new data using ajax w...
(1) odpowiedzi
2017-09-08 13:09 node.js ejs view composers or helpers »
I would like to create the same machnism that can be found in other frameworks like view composers in Laravel, or model views in ASP.net. Where I can ...
(0) odpowiedzi
2017-09-07 15:09 RangeError when implementing CSRFGuard javascript with EJS »
Configuration in the backend for csrfguard is completed successfully. The token generates (this is the modified javascript and is correct): /** ...
(0) odpowiedzi
2017-09-07 12:09 webpack using the ejs loader »
I'm trying to use webpack to recompose an HTML page using ejs. With the config below I'm getting the error. Module build failed: SyntaxError: Une...
(1) odpowiedzi
2017-09-05 15:09 submit form with dynamic number of fields in EJS/Node »
I have a form which adds a set number of items when clicking a button . A user can add any number of these set of fields in the form before submitting...
(0) odpowiedzi
2017-09-05 14:09 Getting 'undefined' when passing an array through Express res.render function »
My first attempt at a basic node app. If I test run this file (> node index.js) with console.log(eventsArray) in it instead, the array successfully ...
(1) odpowiedzi
2017-09-04 13:09 Fetching Multiple Https request in Nodejs using ejs templates »
Getting the first [ const p1] HTTPS request, but unable to fetch the second one [const p2] its showing me undefined.Where im missing function fe...
(1) odpowiedzi
2017-09-04 08:09 How to send multiple request in nodejs using ejs template »
I'm getting data through a single request. But here I am trying to send multiple HTTP requests. Here I just struck unable to get data and how to pass ...
(1) odpowiedzi