Answer the question
In order to leave comments, you need to log in
Why does the encoding change when inserting html through a script?
There is a script, it adds a link namely:
var links = '<a href="javascript:void();" onclick="submitForm(\'Y\'); return false;" id="ORDER_CONFIRM_BUTTON" class="fix-btn grey-btn order__btn checkout">Оформить заказ</a>';
$(".btn_box").html(links);
<a href="javascript:void();" onclick="submitForm('Y'); return false;" id="ORDER_CONFIRM_BUTTON" class="fix-btn grey-btn order__btn checkout">�������� �����</a>
Answer the question
In order to leave comments, you need to log in
Doubtful JS, of course)
But if the link comes from the back, then look at what headers the response sends.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question