Question: Setting URL Parameters using Express and EJS

Question

Setting URL Parameters using Express and EJS

Answers 0
Added at 2016-12-21 00:12
Tags
Question

I am using express and ejs to route templates on a website I am building. I want to pass a URL Parameter to a subsequent page when routing.

Right now I am using the res.render function.

res.render('index');

Is it possible to add a url parameter when rendering the index page such as ?section=sdkujioewr.

I am trying to dynamically point to a specific section of the subsequent page using bootstrap and I'd like to use a url parameter to do this. Please help.

Answers to

Setting URL Parameters using Express and EJS

Source Show
◀ Wstecz