T
T
teodor7teodor72016-06-13 09:51:29
PHP
teodor7teodor7, 2016-06-13 09:51:29

How to properly interact between Frontend and Backend?

Good afternoon how to interact. The problem has three different sections that fit under the same template. The table is displayed by an Ajax request with plogination via REST. Depending on the name of the section, the content of the table changes. That is, there is one page template. How to frontend find out what kind of page this is, how to do it right. 1) Track the URL, 2) Track which generated marker is on the page. For example id. 3) Another option.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
devian3000, 2016-06-14
@devian3000

Track URL - Uniform Resource Locator (decryption says it all).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question