Answer the question
In order to leave comments, you need to log in
How to change the text in a frame using JS?
Hello! Can you tell me why the code doesn't work? Website link
There is a payment page with a button whose text cannot be changed using JS. (I know that this is generated on the site, but I would like to know why it does not work) Here is the code:
<script type="text/javascript">
function changeText(){
document.querySelectorAll('button2__text').innerHTML = 'Текст изменился';
}
</script>
Answer the question
In order to leave comments, you need to log in
You most likely have a nat provider and your router is also double nat.
You can solve the problem, for example, by buying a dedicated real ip from the provider, only your nat will remain.
Or change the provider to one who does not use nat and gives out real IP (dynamic or static does not matter).
Or maybe you put the router behind the router at home, then you will need to transfer one of the routers to bridge mode.
PS Describe the device of your network if you want answers on the merits, and just guess.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question