Data dodania Pytanie
2017-12-07 19:12 Sails.js error trying to edit and update function »
I'm trying to create edit function and update function using Sails.js but i get an error after i click on edit button. <html> <body...
(1) odpowiedzi
2017-12-07 10:12 buffered Image rendering in ejs »
I am rending my buffered image into ejs but it si showing stream of values and not an image. I am using the following code <img src="data:image...
(1) odpowiedzi
2017-12-07 06:12 Call a async function that get values from db from within a ejs head template? »
got a head.ejs template that is inclueded as the header on all sites. in the header i want to set some tags with values from the database. since the ...
(0) odpowiedzi
2017-12-06 06:12 NodeJS: streaming multiple files from readstream (gridFS) to show on frontend »
I have uploaded multiple image files into MongoDB using "Multer" and "multer-gridfs-storage". I want to extract these files and show them as thumbnail...
(1) odpowiedzi
2017-12-06 04:12 Why i cannot pass json data to an ejs template? »
I'm working on an app using node js and mysql I have the following function: function processInfo(req, res){ //connectig to the db var db = mysql.c...
(0) odpowiedzi
2017-12-05 08:12 can not get error in node.js / javascript »
I wrote the code and execute but cannot get error message occurred in HTML. I use Eclipse and node.js with express and the GET method. But when I ent...
(1) odpowiedzi
2017-12-05 07:12 EJS in a Javascript »
This is my code snippet of my dynamic form field. It is integrated with EJS so that I can make the select option more dynamic. My problem is that I ca...
(0) odpowiedzi
2017-12-05 03:12 Add a css class using to "this" item in a forEach within EJS/node.js »
I've been trying this for hours but I am stumped. I have a kind of "shopping list" node.js app where you can tick off items as bought. I want the bo...
(1) odpowiedzi
2017-12-04 18:12 EJS page render and passing JSON data »
I'm having an issue with passing data to Javascript while rendering a EJS page. I have already checked on previous posts: Pass data to javascript in ...
(0) odpowiedzi
2017-12-04 03:12 Updating the page with Ajax »
after i submit a form with Ajax and i have the result back ... i need to update my EJS tag with this new data. $.ajax({ type: "POST", url: url, d...
(0) odpowiedzi
2017-12-03 19:12 Getting undefined when passing an object, but data still renders »
I am trying to build a basic blog using Express and I am having troubles when I res.render my show page. When I open the route in my browser the page...
(0) odpowiedzi
2017-12-03 11:12 My page is not rendering when calling URL from AJAX »
I have made a route which is called in a specific event(click event) through AJAX. My route is called but the page is not rendered with the call. My...
(1) odpowiedzi
2017-12-02 23:12 Known moderate severity security vulnerability detected in ejs < 2.5.5 »
I got this alert for a few projects on GitHub: We found a potential security vulnerability in one of the dependencies used by a repository that ...
(1) odpowiedzi
2017-12-01 21:12 Mongoose: Populated data fails in render to EJS »
Dear StackOverflow users, I encountered a problem when I was doing my project. To be simple, I'm using Mongoose to handle data between the server(No...
(0) odpowiedzi
2017-12-01 11:12 Expressions in EJS templates »
Is it possible to use javascript expression inside an ejs template? Example: cars.js app.get("/cars", function(req, res) { res.render("cars.ej...
(0) odpowiedzi
2017-12-01 09:12 Generate and empty pdf in production server »
I trying to create a pdf using phamton-html-to-pdf and ejs for templating. The setup work greate in my local dev env, but not in production. The probl...
(0) odpowiedzi
2017-11-30 22:11 JQuery function doesn't fire in ejs »
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script type="text/javascrip...
(2) odpowiedzi
2017-11-30 14:11 Disabling eslint for .ejs files »
I have a template file on my project and while running the eslint I am facing various issues because of it. Some of those are - error Parsing error:...
(1) odpowiedzi
2017-11-30 03:11 convert html with js functions to ejs template need access to dom »
I was trying to get the selected value from the dropdown list in ejs. Below link contains html code similar to what I want to achieve in ejs. http://...
(0) odpowiedzi
2017-11-29 07:11 nodejs: express-validator errors undefined in ejs template »
I am using ejs engine instead of pug. When I click register button, I got errors undefined in my register view. There was only little chance that I ca...
(1) odpowiedzi
2017-11-28 17:11 Inlining JS ind EJS file after bundling with gulp »
I am trying to get the output of a gulp-browserify combo as inline JS in a EJS template. The output needs to be a html file with inline JavaScript for...
(1) odpowiedzi
2017-11-28 12:11 SailsJS : Redirecting to controller action with variables »
I am using sailsJS with ejs engine and i want to redirect the user back to the input page with messages ( validation errors ... ) . i used to use this...
(2) odpowiedzi
2017-11-27 20:11 Using an ejs variable value in node module »
I am new to web development and design . I have made a form validation consisting of Username and password . If authentication is successful , a table...
(0) odpowiedzi
2017-11-27 19:11 Changing dynamincally value of other elements »
I'd like to ask how could I change dynamically the value of a table based on the option from the select menu that the user has chosen. I'm using mongo...
(0) odpowiedzi
2017-11-27 19:11 Bootstraps alignment »
I am using a combination of bootstrap and semantics ui to style and align my webpage. I am currently having an issue with align my pages api map and b...
(1) odpowiedzi
2017-11-26 23:11 How to include bootstrap file in my ejs files? »
So i have installed bootstrap using npm -bootstrap@3 but when i am trying to include bootstrap.min.css file from node_modules in my application, it sh...
(2) odpowiedzi
2017-11-26 17:11 node js routing with ejs res.render does not work, but res.send does »
I am setting up the environment for a node js app. But the views/ejs files are not being rendered. If i do: app.get("/", function(req, res){ res.sen...
(1) odpowiedzi
2017-11-25 11:11 Why ctx.state did not pass to another middleware? »
use koa2 ejs koa-router, ejs template how to use another middleware's ctx.state localhost:3000/admin/usermsg admin.get('/usermsg', async(ctx) => ...
(0) odpowiedzi
2017-11-25 07:11 Use webpack to create static html files from different assets (based on ejs templates) »
I am working on a node-based project that uses the ejs template system to write different calculators. The dev environment consists of a landing page...
(0) odpowiedzi
2017-11-24 22:11 Refreshing a div of textarea result but avoid updating textrea using jquery »
I want to refresh a specific div which consist of messages between two users but don't want to refresh the whole page since it clears out text from th...
(0) odpowiedzi
2017-11-23 17:11 Provide custom functionality to lookup EJS view files »
When using ejs server-side with nodejs, without an application framework, is there any way provide a custom function to lookup view files? I would li...
(0) odpowiedzi
2017-11-23 12:11 NodeJS retrieve JSON and serve to EJS template »
my purpose is to get a JSON and serve it to an EJS file. This is my code: //server.js users = require('./controllers/users.js'); global.app_root ...
(1) odpowiedzi
2017-11-23 05:11 express js routes: displaying a user input in an ejs page »
How can I display the result of an input search with express js? I have defined 2 routes: app.get('/', function(req, res){ res.render('index',{ titl...
(1) odpowiedzi
2017-11-22 14:11 Express share ejs templates between multiple projects »
I am building a large app that has been developed in multiple sub apps divided by sub domains. sub1.domain.com, sub2.domain.com, sub3.domain.com. The...
(0) odpowiedzi
2017-11-22 00:11 Views not refreshing correctly using SailsJS »
in my code, i have a view called "show.ejs" which shows client details. the proble; now is that if i update client details (image, associated docs, .....
(2) odpowiedzi