I got a express program with use jade templates.
I have this code in app.js
app.get('/visualizar',function(req, res) {
res.render("visualizar");
}
I have configured correctly the middlewares in the folder views.
Then, I got a page in jade that have a td and a script that make a $get to visualizar if you click in the td
$(window).load(function (){
$('tr').click(() => {
$.get("/visualizar");
});
});
The program do the get to visualizar but not render the page, why?
[![Gets correctly][1]][1]
You can view the full code in c9 In the archive app.js and csv.js(in the public folder this one, at the end)
