D
D
Danil2014-03-18 22:15:25
JavaScript
Danil, 2014-03-18 22:15:25

How to work with the address bar in JS?

Actually, how to work with the address bar in js?
Well, that is, if the address is www.test1.ru/main, then display page 1, and if the address is www.test1.ru/user, then display page 2. Give an example of use, preferably on the backbone.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Starkov, 2014-03-18
@Veneomin

backbonetutorials.com/what-is-a-router

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question