title: node.js req.body shows empty
body: <p>Student list showing like this and the problem happened when I click detail button(no req.body data, console.log(req.body) shows [])
  <a href="https://i.stack.imgur.com/IoOjh.png" rel="nofollow noreferrer">enter image description here</a></p>
  
  <p>student.jade</p>
  
  <pre><code>extends layout
  
  block content
      h1 Student list
      .studentlist
         table
              thead
                  tr
                      th name
                      th age
              tbody               
                   each mongo_result, i in slist
                       form(action='/detail', method="POST") 
                          tr                                                   
                              td(type="text" name="name")= mongo_result.name
                              td(type="text" age="age")= mongo_result.age                             
                                  button.btn-primary(type="submit" width='50' height='50') Detail
  </code></pre>
  
  <p>app.js</p>
  
  <pre><code>    app.use(express.favicon());
      app.use(express.logger('dev'));
      app.use(express.json());
      app.use(express.urlencoded());
      app.use(express.methodOverride());
      app.use(require('stylus').middleware(path.join(__dirname, 'public')));
      app.use(express.static(path.join(__dirname, 'public')));
      app.use(app.router);
      app.use(bodyParser.json());
      app.use(bodyParser.urlencoded({ extended: true }));
      app.use(express.bodyParser());
  
  app.post('/detail', (req, res) =&gt; {    
  //var data = res.json({ result: result });
  console.log(req.body);
  dbs.collection('slist').find({ name: req.body.name, age:1}).toArray((err, docs) =&gt; {
      if (err) return console.log(err)
      console.log(docs);
      res.render('detail', { title: 'Detail', year: new Date().getFullYear(), message: 'Detail of student', detail: docs});
  }); 
  
  
  })
  </code></pre>
  
  <p>I have tried all stuffs from other posts but
  I don't still get answers for it.
  I am creating a detail page for students and when I try it, req.body is always empty.(each table's td will have name and age and I want to send it when button clicked)
  Any ideas for me?
  Thank you for reading.</p>