Hi everyone,
I have a quick question about how to navigate pages in express and jade.
I have created an app.js file which works fine, it shows the index view. I have also created another view called upload.
The localhost:3000/upload page works fine separately.
No I want to know how to put a button in the index view to go to the upload view.
should i do something like
button(onclick="./upload") or is there a different way which is preferable, I just want to switch pages from within the jade view.
regards,
David
--
You received this message because you are subscribed to the Google Groups "Express" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/express-js/-/76A-ixrDL54J.
To post to this group, send email to
expre...@googlegroups.com.
To unsubscribe from this group, send email to
express-js+...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/express-js?hl=en.