Data dodania Pytanie
2016-12-09 15:12 Node JS - Express - How do i search the mongoDB object_id within the local host browser? »
How would i search the object_id in my browser? Any ideas? Ive tried localhost:3000/objectsearch?objectid=58499f5ed0055acc431a99f0 but that just brin...
(1) odpowiedzi
2016-12-09 01:12 Node js express - My query isnt returning what i exspect, any thoughts? »
When I run this route with http://localhost:3000/buyersearch I get "please enter an Buyer Identifation Number" as aspected. But when I run http://loc...
(2) odpowiedzi
2016-12-07 23:12 res is not defined in ejs »
Objective: I need to display different templates based on route. In my case it's /edit /new, and I need a condition to display tabs or something else....
(1) odpowiedzi
2016-12-07 11:12 React app include ejs file in index.ejs »
I have a react app. It's rendering through an index.ejs file. I would like to include a header and a footer with static html by injecting them through...
(0) odpowiedzi
2016-12-07 09:12 EJS template expansion when a string variable getting expanded has <%= %> »
Below is EJS code where I have problem expanding 'myTemplate' variable: <% for(var i = 0 ; i < largeObject.elementArray.length; ++i) {%> ...
(1) odpowiedzi
2016-12-06 18:12 Client side and Server side rendering of ejs template »
I always wanted to learn NodeJS to be able to run the same code on server and client side. I am using NodeJS with Express and EJS. So. I have a .ejs ...
(2) odpowiedzi
2016-12-06 11:12 How can I add two numbers using ejs(Embedded JavaScript)? »
I want to add 2 numbers which is coming from the back end. I am trying to add using <%=num1%> + <%=num2%> but its printing num1num2 inste...
(2) odpowiedzi
2016-12-06 07:12 ejs template placing things out of order »
I am using an ejs template to loop through an array and add rows to a table. Here is the following code in my template: <div class="col-md-8 col-m...
(1) odpowiedzi
2016-12-05 23:12 How to use Spring messages in EJS template? »
I consider moving from Thymeleaf templating to EJS templating in my Spring Boot application (there is a need to execute some javascript code on server...
(1) odpowiedzi
2016-12-05 17:12 Not able to view the array data in an EJS file »
I use Node.js and I pass the firstRow object in the res.Render(); Here is my index.ejs: <html> <head> <title>DropDown</titl...
(1) odpowiedzi
2016-12-03 18:12 I can't get EJS intellisense to work in Visual Studio 2015 »
I've created a basic express 4 project using Node Tools for Visual Studio. I don't like jade as a templating engine so I'm trying to change to Embedd...
(0) odpowiedzi
2016-12-03 00:12 display a date on an edit from from mongo using ejs »
There is an edit page where a user can, obviously, edit aspects of an event. Everything displays fine except the Date shows empty. I am using the ty...
(2) odpowiedzi
2016-12-02 15:12 Is there any way to minify .ejs files with grunt.js? »
The only way that I found was convert .ejs file to .html and after convert the.html to .ejs, is this right? ...
(0) odpowiedzi
2016-12-01 16:12 map marker in script tags within ejs file not showing »
I want to have two markers, one of the user's current location and the other will be the location of post in my app. The marker of the user's current ...
(1) odpowiedzi
2016-12-01 13:12 EJS if conditional doesnt work »
I am currently trying to use ejs template in my express application. As indicated in the offical page of the template (https://www.npmjs.com/package/e...
(1) odpowiedzi
2016-12-01 02:12 EJS variable definition issue »
Trying my hand at a bit of node but i can't get my EJS template to render some very basic data. I have two controllers - one for basic home/about/con...
(1) odpowiedzi
2016-11-30 20:11 iframe embed with variable as src in pug is not working »
This is the code that was working with ejs: <iframe width="660" height="371" src="<%= revive.reviveVideo %>"></iframe> What is th...
(1) odpowiedzi
2016-11-30 05:11 Having trouble referencing object in EJS »
I have an object that I am passing into my template using EJS and I continue to get an error saying Cannot read property 'link' of undefined, here is ...
(1) odpowiedzi
2016-11-29 22:11 Vim error when opening EJS files since adding briancollins/vim-jst Vundle plugin to .vimrc »
Ever since adding Plugin 'briancollins/vim-jst' to my .vimrc and running PluginInstall in Vim, I've been seeing this error: Error detected while ...
(0) odpowiedzi
2016-11-29 07:11 unable to return correct value of method in node.js to ejs template »
in app.js, inside of the social object, anytime i console.log the totalcount i'm able to see the correct value in the terminal. but when i try to vie...
(2) odpowiedzi
2016-11-29 06:11 @Input not working in angular 2 component »
EJS variable to Angular2 component I am tring to pass the model data object which is a JSON object from ejs template to the angular2 component. Here ...
(1) odpowiedzi
2016-11-28 03:11 express , ejs , socket.io/socket.io 404 error »
i have an error when i start a server i it says GET /socket.io/socket.io.js 404 3.216 ms - 1026 my folder on node_module/socket.io/ there is no socke...
(0) odpowiedzi
2016-11-27 18:11 EJS variable showing as null »
I have a node/express/ejs application and when I go to the page it shows that the variable has null value. Here is the route. router.get("/events", ...
(1) odpowiedzi
2016-11-26 11:11 Reuse templates with precompiled EJS template »
I'm using EJS as template engine for my website. And I have components that I want to use multiple times. After searching for it, I decided to use pre...
(0) odpowiedzi
2016-11-25 03:11 HTML form with 2 actions for a post request »
I am making a blog site for myself with two categories. One will be Front End Development topics, another will be sports. On the main page I want the ...
(0) odpowiedzi
2016-11-23 20:11 How to present checkbox values in HTML (using ejs) after extracting data from mongo for User to Edit? »
I currently save data into mongo for a multiple choice question and mark the correct answers, In mongo I save them something like question.options.opt...
(1) odpowiedzi
2016-11-23 15:11 EJS Reference Error »
I have a Node.JS application that is hosted on Ubuntu 16.04. I am using EJS to display queried data from MySQL but I am getting a reference error like...
(0) odpowiedzi
2016-11-23 06:11 Cant get it to run, Node.js, express, socket.io and ejs? »
I'm trying to learn java-script. i was thinking of making an basic chat app by using Express, stock.io and ejs. I just cant get it to run. This is m...
(1) odpowiedzi
2016-11-22 19:11 missing ) after argument list in /home/developer/381Project/views/restaurants.ejs while compiling ejs »
I am new of ejs and I have to do a express,mongo project through VMware and Linux. I want to find the data from MongoDB using mongoose, and using ejs ...
(0) odpowiedzi
2016-11-21 21:11 Not loading custom scripts from public folder Express (generator) »
I am a newbie to node and express and I am really stuck right now. I want to load a custom script.js form the public folder but it doesnt seem to load...
(1) odpowiedzi
2016-11-21 02:11 Understanding EJS in node.js/express »
I am new to node.js, and using EJS is giving me a hard time. I am so used to HTML/jQuery. But I am not able to make jquery work with EJS. when I try...
(0) odpowiedzi
2016-11-21 00:11 Use console.log in EJS »
Is it possible to use console.log in a node / ejs template? It doesn't seem to do anything when I try, even something as simple as: <% console.log...
(1) odpowiedzi
2016-11-19 22:11 Keep scroll position after res.redirect("back") »
In my application when a user RSVP's to a bar the put request that adds that bars id and name to my user model with rsvp's and then redirects them bac...
(0) odpowiedzi
2016-11-18 15:11 Node js passing JSON to ejs »
I want to take json from the url. I am doing that with module 'request' like this var request = require('request'); require('body-parser'); var each ...
(0) odpowiedzi
2016-11-17 23:11 express-ejs-layout sometimes fails to detect passing argument »
I am rendering a page where I am passing data "userInfo" but sometimes it render and sometimes it shows this ReferenceError, not sure Why? My questio...
(1) odpowiedzi