jade tag

3 questions


2 answers
90 views
0
This is a question about node.js. I'd like to receive the value delivered by the Express Router from Jade's inline JavaScript.

You are about to receive the rows value passed by the Express Router from Jade's inline JavaScript. '#{rows[1].It's accessible by the code 'id}', but I can't figure out where it's coming from. Also, w...

1 years ago

1 answers
92 views
0
When I press a specific button in express, I want to modify mysql data and then load the modified page.

main.jsapp.post('/count', function(req, res){ var num_ = Object.keys(req.body)[0]; var sql = 'select times from db where num=?' conn.query(sql, [num_], function(err, rows){ if(err){ console.log(err)...

1 years ago

1 answers
119 views
0
I am studying node.js. I am curious about the template engines Jade & EJS and NoSQL MongoDB & OrientDB.

Node.js is studying.The question is very simple, but I'm asking you because it seems to be an important part.I'm trying to develop it using a template, but I have difficulty choosing which to study, J...


© 2024 OneMinuteCode. All rights reserved.