javascript - How can I send back one preset field of data in an HTML form? -
i working on node.js website. maintains data districts in province. edit district data, admin types district's name , year , goes form (/edit?district=blah&year=2010
) has various fields district. how should track district , year form filled out in post route's scope?
basically want send data in current url's parameters form post.
require body-parser
module in node server.. u can parameters posted in body request.body.paramname
in of routes post method.
Comments
Post a Comment