Answer the question
In order to leave comments, you need to log in
How to implement transition to a new page in Backbone?
A couple of questions have come up.
There is an application that, if successful, should take the user to a new page (using a route)
How to make a transition on a button click?
Is it possible that everything that is on the page is removed and a new template is inserted from the new view?
And how if possible?
Well, that is, as if these are two different pages?
Answer the question
In order to leave comments, you need to log in
Backbone.history.navigate("/адрес route на который нужно перейти");
$('body').html(view.render().el)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question