国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

html5 - Soalan newbie: Mengapa permintaan pos borang tidak boleh diproses dengan penghalaan?
迷茫
迷茫 2017-06-10 09:49:12
0
1
908

Meja hadapan ws.html

<form method="post">  
    <p class="form-group" >
            <lable for="name">手機(jī)號(hào)</lable>
            <input type="text" class="form-control" id="name" placeholder="請(qǐng)輸入你的手機(jī)號(hào)" name="pnum">
            <lable for="price">QQ號(hào)</lable>
            <input type="text" class="form-control" id="price" placeholder="請(qǐng)輸入你的qq號(hào)" name="qnum">
            <lable for="num">郵箱</lable>
            <input type="text" class="form-control" id="num" placeholder="請(qǐng)輸入你的郵箱" name="email">          
    </p>
    <button type="submit" class="btn btn-default">提交</button>
</form>

menghala ws.js

router.post('/ws',function(req,res,next){
    console.log(req,body);
    res.render('suc',{
       message : "恭喜你完善成功",
    })
})

迷茫
迷茫

業(yè)精于勤,荒于嬉;行成于思,毀于隨。

membalas semua(1)
巴扎黑

Laluan ini tidak dimasukkan sama sekali Adakah maklumat log anda dikeluarkan?

<form method="post"> 沒有 action anda hendaklah disiarkan ke halaman utama tapak web secara lalai.

Muat turun terkini
Lagi>
kesan web
Kod sumber laman web
Bahan laman web
Templat hujung hadapan