Data dodania Pytanie
2017-06-19 12:06 Not able to access variable in jQuery »
I am trying to develop application with feathersjs and ejs. I have completed the connectivity part and I am able to pass data from server side, fetch ...
(1) odpowiedzi
2017-06-17 07:06 Nodejs + Expressjs + EJS + Mongodb »
I am new to the Nodejs and mongodb and trying to Insert the data into database and getting the 404 while submitting the form. Not sure what is wrong i...
(1) odpowiedzi
2017-06-16 20:06 Express passing parameters to template depending on the environment »
I am using Express and EJS templates. In production environment I am calling some middleware's and passing result to the template. req.body is returne...
(0) odpowiedzi
2017-06-16 19:06 Getting Can't set header after they are sent error when i render data with ejs »
I am getting "Can't set header..." Error when i try to include my header file and render data from express. This is my code router.use('/dreams',...
(0) odpowiedzi
2017-06-16 15:06 layout is not render in ejs template with nodejs »
This is my code one is view/layout.ejs file and other is view/users/users_list file when i am render this code then shows error TypeError: /home/ad...
(0) odpowiedzi
2017-06-15 15:06 EJS: Pass array of pages into include(page) »
I've created a dashboard page where a user can save different components of the site to one page for quick viewing. I'm able to dynamically load one c...
(2) odpowiedzi
2017-06-15 15:06 Backbone view takes some time to load when new data is added to the collection »
I am new to backbone and working on a CMS built in backbone. The CMS allows the creators to add new homepages for the website. The size of the respons...
(1) odpowiedzi
2017-06-15 08:06 Injecting data into div on ejs page from nodejs after selecting menu item »
This is the ejs page and on the left side vertical menu bar is defined what I want is when i click on the Users on right hand side which is div table ...
(0) odpowiedzi
2017-06-14 23:06 Client side rendering using i18n and ejs »
I'm currently developing a music platform, using NodeJs, Express 4.0, and EJS as my template engine. As we must have a player constantly playing thro...
(0) odpowiedzi
2017-06-14 08:06 ejs function keeps inserting unwanted new lines »
I have this for loop : <% for (let obj of objects) { doSomething(); }%> And this function : <% function doSomething() { %> HelloWor...
(1) odpowiedzi
2017-06-14 06:06 Failed to lookup view "/landing.ejs" in views directory »
I'm working in Cloud9 and when trying to run the application i'm greeted with the error failed to lookup view "/landing.ejs" in views directory: Thus...
(1) odpowiedzi
2017-06-13 15:06 Cleanest way to generate stars in EJS »
Using ejs in Node.JS (templating) what's the cleanest and most efficient (in terms of typing) way to generate this kind of html for stars? stars look...
(1) odpowiedzi
2017-06-13 13:06 How can I build and push an array to my mongoose embedded model from the same named inputs »
My model: var mongoose = require('mongoose'); var uniqueValidator = require('mongoose-unique-validator'); var Trainschema = new mongoose.Schema({ ...
(1) odpowiedzi
2017-06-13 12:06 EJS Error: Could not find matching close tag for "<%=" Error During Post »
I have searched for the solution for the error which I got during POST the data from index.ejs to index.ejs. Although I have disabled the <%=varia...
(0) odpowiedzi
2017-06-12 14:06 How to include EJS partials using absolute path »
I am unable to include EJS partials using absolute path like /partials/footer.ejs When i say this EJS is trying to look this file in my file system ro...
(0) odpowiedzi
2017-06-11 22:06 My DELETE method doesn't work from a Submit Form »
Im trying to get a DELETE request working but it concat's to this: "http://localhost:3000/users/delete?userid=593d774c734d1d02258f5315" it doesnt go t...
(0) odpowiedzi
2017-06-11 20:06 nodejs with express: variables for every view »
I'm coding a web based game and I'd like to share variables within every view. Every user has created their own race and every race has lots of varia...
(1) odpowiedzi
2017-06-11 08:06 Part of my js script not working in my ejs file »
The "if" statement in my ejs file doesn't seem to work. Here is my .ejs file: <!DOCTYPE html> <html> <head> <title>c...
(1) odpowiedzi
2017-06-10 21:06 Itterate over json keys with only EJS »
Using only EJS (in EJS templates in .ejs files for NodeJS), how would I iterate over keys of a JSON object (that's not an array)? I'm looking for som...
(1) odpowiedzi
2017-06-10 06:06 app.post cannot run multiple times on node.js »
I'm using node, express, passport with MySQL I made a function which increments the value of a few fields in 2-3 tables. The function is invoked using...
(1) odpowiedzi
2017-06-09 21:06 How to load and update EJS templates using AJAX? »
I'm trying to update or load sections of a website using AJAX and EJS, the desired behaviour of the app is that if a hash is detected for example:#abo...
(0) odpowiedzi
2017-06-09 15:06 I want to use JQuery in Node.js and EJS but $ is not defined »
I want to use JQuery so I did like this. npm install jquery modify package.json But it still doesn't work. and this is .ejs page <html> &...
(3) odpowiedzi
2017-06-09 07:06 Angularjs routing ejs static files in "views" folder from "public" folder of express.js »
Here is my project structure. I am trying to call the ejs file (app > views > list.ejs) which is in "views" folder from the angular routing file (ap...
(3) odpowiedzi
2017-06-08 13:06 why does ejs and jquery(jquery-advanced-news-ticker) collide in this code? »
I have a node application I am using with ejs as my views driver, and i am trying to use this great plugin. the code by itself works great, but when ...
(1) odpowiedzi
2017-06-08 09:06 How to Capture data from a query string and add it to a route to filter/sort - asc or desc nodejs mongodb mongoose ejs »
This should be rather a simple one.... I creating a small app using nodejs with mongodb and ejs. I can sort and filter fine when i define the options...
(0) odpowiedzi
2017-06-08 02:06 Looking to grab data from an API and have it build a table using Node/Express »
I'm looking to build a crypto price web app like www.coincap.io or www.coinmarketcap.com ; I initially started hard coding with EJS and then realized ...
(0) odpowiedzi
2017-06-07 21:06 Using session in ejs »
I am a newbie in node and express. I want to use cookies / session to notify my ejs once my registration is successful. I dont know which one is a bet...
(1) odpowiedzi
2017-06-06 19:06 Nodejs Express Web APP - Consume API - Token »
I'm new with nodejs and i have a situation. I have a WebApp with nodejs, express and EJS templates and I consume an external API. I have to impletat...
(0) odpowiedzi
2017-06-06 08:06 Issues in posting ejs form data to controller »
i have gone through "http://tanmaysarkar.com/html-form-with-ejs-template-in-nodejs/" this post but i have written my logic in controller i am ...
(1) odpowiedzi
2017-06-05 20:06 unable to fetch data from ejs to controller and client side JS »
I am a newbie in node and express. I am working on an app that has a login module. I am able to register a user but am facing some issues while trying...
(2) odpowiedzi
2017-06-05 20:06 express routing triggers: "Can't set headers after they are sent." error »
I am new to Express, and having trouble sending data from backend to front end. Here is what I want to do: I have a Google Map API on the homepage (ho...
(1) odpowiedzi
2017-06-05 19:06 Express.js: res.render() does not send data when wrapped in promise chain »
I recently started refactoring older callback-hell routes to use promises. (Note: the refactor is not complete so some of the following code is ugly) ...
(3) odpowiedzi
2017-06-03 20:06 Test express render with locals »
Here is my sample code: File: index.js var express = required('express'); var app = express(); app.get("/", function(req, res){ ... ... ...
(0) odpowiedzi
2017-06-03 00:06 Storing variable passed from node server to EJS file as input data for form »
I'm trying to store a variable called from the server as the default value of a form. The for loop I used is correctly displaying all the data and eve...
(1) odpowiedzi
2017-06-02 20:06 Specify Window Features with shell.openExternal(url) in Electron »
Currently I'm trying to open a url on app launch in my Electron app's main.js file with the line: shell.openExternal('https://google.com'); ...
(0) odpowiedzi