Data dodania Pytanie
2017-04-22 12:04 blob link not found using recorderjs »
I am using the Recorderjs by mattDiamond to record an audio wav file. I am following this code :https://github.com/tmtxt/web-audio-example . The code ...
(0) odpowiedzi
2017-04-21 23:04 EJS in rails production not compiling properly »
I have a rails app that uses EJS templates. It is running perfectly on development, but in production, it acts like the EJS processing step is skipped...
(0) odpowiedzi
2017-04-21 19:04 Sails.js - Issues with controller »
I'm developing a controller to parse JSON from SoundCloud's API, using the following code (SoundCloudController.js), in order to retrieve some data. W...
(1) odpowiedzi
2017-04-21 10:04 passportjs local connectflash not working with ejs »
I have a project using passportjs fully working, but not showing flash messages. The passportjs file looks like this: passport.use('local-login', ...
(1) odpowiedzi
2017-04-20 19:04 Ajax with include in ejs »
When i try to add include in my ejs file its working fine. HTML report.ejs <tbody> <%- include('include/playersTable')...
(0) odpowiedzi
2017-04-20 17:04 Update part of HTML page using NODE.JS and EJS »
I have the following express app which just renders the sample.ejs page. On that page when I press the button the attached script changes the div text...
(1) odpowiedzi
2017-04-20 08:04 Filtering an array by using another array »
Array1 = [ name1, name2]; Array2 = [ { name: name1 , id: 1, location: xyz, address: 123 }, { name: name2 , id: 2, location: abc, address: 4...
(3) odpowiedzi
2017-04-19 12:04 Nodejs, HTML, Mongoose and EJS »
I'm trying to populate some fields, from data stored in a MongoDB database, in a HTML page using Nodejs and EJS. I have my nodejs server.js file. ap...
(0) odpowiedzi
2017-04-19 07:04 Versioning of webpack bundle in EJS »
I am creating application with Express and ReactJS. For splitting big components I use lazy loading and in webpack I am adding chunkhash to query to c...
(1) odpowiedzi
2017-04-18 12:04 scripts included in partials dont work as expected in ejs »
I use lodash accross my website and its now telling me that uniqBy is not a function. I thought maybe this was due to me using an older version of the...
(1) odpowiedzi
2017-04-18 09:04 Sublime Text not formatting code when file references header/footer via ejs »
I'm using a lot of ejs in my app and I have a problem as Sublime is not colour coding my code within an ejs file when my file begins with a reference ...
(0) odpowiedzi
2017-04-17 18:04 Loop through a image file »
So I have a large file of 68 images that I need to display one after another in a gallery type format, but I do not want to type them all out for obvi...
(0) odpowiedzi
2017-04-17 15:04 How to include the content of a CSS file into node EJS template »
I'm using express and public folder for loading CSS inside a tag. But I wonder if it is possible to load it as text directly on EJS template, similar...
(0) odpowiedzi
2017-04-17 09:04 How can I "cache" a mongoDB/Mongoose result to be used in my Express.js views and routes »
What I'm trying to achieve is some sort of way to cache results of a mongoDB/Mongoose query that I can use in my views and routes. I'd need to be able...
(1) odpowiedzi
2017-04-16 15:04 Node JS, EJS include actions »
I am writing an admin dashboard in Node JS.The HTML views are being created using EJS. Below is an example of how my folders are set up. /root ap...
(0) odpowiedzi
2017-04-16 01:04 Get current page in .ejs file? »
I have simple Node.js web app with login/registration functionality through passport. In the nav bar I have two buttons: Login and Register. What I wo...
(1) odpowiedzi
2017-04-15 21:04 Navigating between Express, EJS and Node.js »
How do I create a page which has a button, which onclick() will redirect to another page? ...
(1) odpowiedzi
2017-04-15 10:04 User input with EJS and Express »
I'm building my first web app with Node, using EJS and Express. But I'm having some trouble getting any information from the user that can be manipula...
(0) odpowiedzi
2017-04-13 22:04 nodejs html-pdf not working on heroku »
I've a fully functioning nodejs code that on some user actions generates a pdf, emails the pdf to user and uploads the pdf to dropbox. It works perfec...
(1) odpowiedzi
2017-04-13 20:04 Webpack: ENOENT: no such file or directory, open 'head.ejs' »
I have the following webpack.config.js file: 'use strict'; let path = require('path'); let webpack = require('webpack'); let HtmlWebpackPlugin = req...
(1) odpowiedzi
2017-04-13 13:04 how to submit a form without knowing a button id/class or form id/class? »
Hi i have multiple forms in a single page each of this having different productId which is getting from backend, and each form having 2 buttons one to...
(1) odpowiedzi
2017-04-12 11:04 webpack-dev-server rebuild with ejs »
I'm using webpack-dev-server with this config: import webpack from 'webpack'; import autoprefixer from 'autoprefixer'; import ExtractTextPlugin from ...
(0) odpowiedzi
2017-04-12 06:04 Populate right side of HTML view on list click with data using EJS »
I currently have a view that is essentially a list on the left and a results view on the right. I am using Node/EJS and I am passing in everything I n...
(1) odpowiedzi
2017-04-11 09:04 how to render ejs template in HTML page on button click dynamically in nodejs »
I'm trying to add ejs template in html page onclick of button where I'm passing data to ejs template. if Irender template without data it gives error ...
(0) odpowiedzi
2017-04-11 07:04 html-webpack-plugin - How to insert webpack bundle.js without executing the EJS template »
I am trying to insert bundle.js dynamically without executing the EJS template but I get the below error. Is there a way to insert just the JS without...
(2) odpowiedzi
2017-04-11 00:04 why we use different extensions(Layouts) in node.js like handlebars,jade,ejs, etc? »
I'm a beginner to Nodejs. I'm developing MEAN Stack project for my University Project. so I have some questions regarding extensions in NodeJs. What ...
(1) odpowiedzi
2017-04-10 21:04 Looping: adding html every three iterations »
I have a template I need to render html in. I'm using EJS (basically HTML with javascript). I need to insert a new row div and a wrapper div after e...
(1) odpowiedzi
2017-04-10 16:04 WebStorm: can't create EJS files »
After getting a common error and fixed with this post, the views files have the jade extension despite I'm choosing EJS... First I create the project...
(0) odpowiedzi
2017-04-10 04:04 Limit the number of items on pagination »
I have here my code, how to limit this 10 buttons to at least 4 buttons only? I'm just a beginner on programming. My JavaScript: $('.butt').on('clic...
(0) odpowiedzi
2017-04-07 03:04 Use jquery with ejs template »
I'm trying to use jquery in an ejs template to make an input auto complete using an array sent by the server to the template.I get the following error...
(1) odpowiedzi
2017-04-06 23:04 How can i export data from post route? »
I am trying to build simple weather app using node.js. I want to display weather information on separate ejs file. My code in post route looks like ...
(2) odpowiedzi
2017-04-06 20:04 Get referenced objected fields from postgresql using node.js »
i have tow tables in postgres database, account_invoice and res_partner. account_invoice has a relational field of res_partner referenced using id (pr...
(0) odpowiedzi
2017-04-06 11:04 Not able to parse json string in ejs becuase of single quote in value »
I am passing one json string variable from nodejs to ejs. e.g stringJson = "{"obj" : "it's not working"}" I am retrieving this value on ejs inside s...
(1) odpowiedzi
2017-04-05 09:04 How to Split <ul>'s every different variable »
I want to split <ul> every different variable_name I tried inserting ul inside the if statement but it wont work. Is it possible to put ul with...
(1) odpowiedzi
2017-04-05 07:04 How to Split <ul>'s every 6 <li>'s »
for example i have here my code, i want to add <ul> every 6 li's I tried inserting ul inside the if statement but it wont work. is it possible ...
(1) odpowiedzi