Data dodania Pytanie
2018-02-18 23:02 Why is my For Loop returning just one value in node js EJS Template but returning all the values in console.log()? »
I'm building something where I need to query stuff from MongoDB and display the results in the Frontend using EJS template in node.js. Everything goe...
(0) odpowiedzi
2018-02-18 20:02 Why my Array results in EJS template in node js is displaying wrongly? »
I want to display array result from my database in MongoDB on the frontend using EJS template but was faced with an error which is displaying of resul...
(0) odpowiedzi
2018-02-18 07:02 Why Array in EJS template is displaying long list of letters instead of the complete result? »
I want to display array results from my MongoDB but I'm having a problem displaying them on the frontend using the EJS template. This is the code I ...
(1) odpowiedzi
2018-02-17 23:02 Nodejs requery SQL data in ejs template »
i'm new to node js and i am building an application, which makes a sql query, build strings from the results, gives them in the ejs template and build...
(0) odpowiedzi
2018-02-17 11:02 UnhandledPromiseRejectionWarning »
Reference block of code below: //create comment route: post new comment to database router.post("/campgrounds/:id/comments", isLoggedIn, function (re...
(1) odpowiedzi
2018-02-17 08:02 Invalid captcha error eventhough I enter correct value »
I am using nodejs and angularjs in my application. I am using svg-captcha for captcha verification. Here am storing the captcha value in session and d...
(0) odpowiedzi
2018-02-16 03:02 Express won't serve static ejs files in vhosts »
The closest I've been able to get is it will have the client download them. It will download the correct ejs files. It's driving me crazy because I f...
(0) odpowiedzi
2018-02-15 17:02 Why do I get a Reference Error in EJS »
I add a title to a header of my sidenav and my code runs fine in the EJS template. But when I add a second output in a list I get a reference error. ...
(1) odpowiedzi
2018-02-15 09:02 How to convert a PHP website into EJS (Effective JavaScript tempting) »
Just static pages not dynamic content like ajax call and all. <? include_once( LandingPage::find( 'includes/header.php' ) ); ?> <? include_o...
(0) odpowiedzi
2018-02-14 19:02 How to properly set Ejs Partials »
I have an ejs sidebar partial <div class="col-3 flex-nowrap"> <nav id="sidebar"> <!-- Sidebar Header --> <div class="si...
(1) odpowiedzi
2018-02-14 05:02 How to display image URL path stored in modgodb in the front end using node js »
I have successfully stored the image path of the pictures uploaded. They look like this http://localhost/public/Images/okro.jpg but I don't know how t...
(1) odpowiedzi
2018-02-14 03:02 How to render index page with Vuejs using Node + Express »
I'm building a small application with Vuejs + Node but currently have to run 2 servers in dev: my node server: nodemon server.js and Vuejs built in ...
(1) odpowiedzi
2018-02-13 19:02 Instead of JSON response to POST request, what are my options for React? »
Client-side I have a <form method="POST" action="/register"> which makes an SQL query. Server-side I have this: router.post('/register', func...
(1) odpowiedzi
2018-02-13 14:02 How to display images stored in Mongodb using Node.Js »
I need your help on displaying images stored in MongoDB using Node.JS and express framework. I've successfully saved the image using this method: ...
(0) odpowiedzi
2018-02-13 08:02 JWT Authentication in sails using AJAX Call »
I'm developing a portal in sails which requires user authentication, views are rendered using ejs files. While authenticating the user to perform furt...
(0) odpowiedzi
2018-02-12 10:02 ejs ignoring if statement if a css class is added to the element »
I'm having a strange problem with ejs template engine in a nodejs, express app, that it's ignoring the if statement and showing the html inside if a c...
(0) odpowiedzi
2018-02-11 22:02 How Do You Use JS Promises To Keep Requesting From API While The API Returns A Value? »
I am trying to keep requesting from an API while the API continues to return. I am using the LaunchLibrary API (https://launchlibrary.net/docs/1.3/api...
(2) odpowiedzi
2018-02-11 17:02 Using EJS template engine like Latte (Blocks) »
I need to use EJS template system like this: Layout: <html> <head> <link rel="stylesheet" href="style.css"> {block head}...
(0) odpowiedzi
2018-02-11 02:02 reload 2 or more website and click on specify buttons on this website »
I´m looking for a way to create a program that reloads any two websites and then clicks on a specifc div-button on both websites. Any idea? <scri...
(0) odpowiedzi
2018-02-10 18:02 Error: Unexpected token ; in EJS file »
My EJS file was working file and was rendering before I added a switch case logic in my EJS file. It gives me an error stating- Unexpected token ; and...
(0) odpowiedzi
2018-02-10 10:02 express remove prefixed URL to public folder »
Even though i have created static public folder in app.js when i navigate to "http://localhost:3000/calenders/add" and i don't get any styles which...
(1) odpowiedzi
2018-02-08 20:02 Prevent overflow A4 HTML page node EJS templates »
I have a problem and what to ask if anybody has a neat solution by way of a concept. We are rendering html pages using EJS templates on Node Express ...
(0) odpowiedzi
2018-02-08 11:02 html-pdf nodejs page cutting issue »
I use table in pdf but when new page starting at that time row is cut half In upper page and half in next page. I use html-pdf for creating pdf. I a...
(1) odpowiedzi
2018-02-08 08:02 javascript magic or my fail »
I have an array of objects like this { img: 'https://i.ytimg.com/vi/dz_jeuWx3j0/default.jpg', title: 'The Deep End of Deep Learning | Hugo ...
(1) odpowiedzi
2018-02-07 23:02 How do you get javascript promises to work with node + express and display on an EJS file? »
Before saying to look at the docs, I have and they were not helpful in the slightest. I have an web page with node as the backbone. On one page I nee...
(2) odpowiedzi
2018-02-07 19:02 accessing JSON through javascript in ejs file »
Hello I would like to get any help to get through this issue with my code. so this is my server file with node js //setup var express = require("ex...
(1) odpowiedzi
2018-02-07 12:02 Acces the correct button using this keyword »
i am having trouble selecting the correct button in my form. For example i have two items and i want to delete the one on the right and when i click t...
(1) odpowiedzi
2018-02-06 19:02 How to setup Vue and webpack in my existing Express multi page project? »
guys I need a help regarding using Vue and webpack with my existing project. I have built my website using nodejs express server among with ejs as tem...
(0) odpowiedzi
2018-02-05 22:02 Express js View rendering error »
Hello am having difficulty with this error, from a book i am following "Express in action". Error: Failed to lookup view "new-entry" in views dire...
(0) odpowiedzi
2018-02-05 17:02 Cannot access the items of the json array declared in EJS inside Javascript script tags »
<div> var arrayContent='<%= myJsonArray %>' <!--myJsonArray is sent to this ejs file using the render function in index.js whil...
(2) odpowiedzi
2018-02-04 09:02 How to hide <li> with jquery? »
I have two <ul></ul> elements. One that has links and the other with content I want to display depending on which link is clicked on. Here...
(1) odpowiedzi
2018-02-04 07:02 How to include a EJS file in an <li>? »
So, I'm trying to render an EJS file in <li></li> tags and I keep getting an error. Heres my code: <ul id="forms"> <li id="hi...
(0) odpowiedzi
2018-02-04 01:02 ExpressJS: push query values in array and route to ejs »
I need to get query values which will be routed to ejs file. I am able to do that using data:rows. However, this gives solution:Sandy. I only need San...
(1) odpowiedzi
2018-02-03 13:02 Accessing Json array in EJS file script tag »
I want to access a JSON array inside the script tag of a EJS file. I'm passing the JSON array from my index.js file to the EJS file while rendering it...
(1) odpowiedzi
2018-02-02 15:02 Share variables between node js(express) and ejs »
I don't understand why my output value display normally. My output value used by node js is strange. In the router section var test = function(req, ...
(0) odpowiedzi