$.ajax({ url: "https://cors-anywhere.herokuapp.com/http://vm1.culture.ru/abramtsevo/catalog/ajax.php", data: { PAGEN_1: 1, YEAR_SEARCH_LEFT: -99, YEAR_SEARCH_RIGHT: 1999, TEGS: "Вазы", }, type: 'POST', }); PS https://jsfiddle.net/3xLs75t9
After all, this function should return the value of the tag "Vases", and returns - "Painting"? Why?
On the page itself, if you look at the Network, the parameters, it seems, are identical: http://vm1.culture.ru/abramtsevo/catalog
urlshould be vm1.culture.ru/abramtsevo/catalog/ajax.php - Vyacheslav Danshin