Within my Symfony2 application, in order to link to other pages, I've generated the href value using the path Twig function.
I maybe wrong but I think I previously read about a JavaScript equivalent but can't seem to find it now. I am generating some html using JavaScript and want to know if its possible to generate the href values to other pages within the application using purely JavaScript.
Appreciate any advice.