§
يوللانغان ۋاقتى: 2018-10-28
تەھرىرلەنگەن ۋاقتى: 2018-10-28

Hello guys i need help

Plz help me i need scipt i have Tampermonkey®

I have html code and I would like to change its value using a script

          <p class="top-b-acc__amount">0</p>

and I would like to change the value of 0 to 1 using a script

woxxomMod
§
يوللانغان ۋاقتى: 2018-10-28

Changing the displayed text won't change the value, I'm afraid. To change the actual value we would need to "hack" into the page script. Can you share the URL?

§
يوللانغان ۋاقتى: 2018-10-28

i just need to change the text

§
يوللانغان ۋاقتى: 2018-10-28

I need to write this or something else
var input = document.querySelector

§
يوللانغان ۋاقتى: 2018-10-29

Need help!

§
يوللانغان ۋاقتى: 2018-10-31
var input = document.querySelector('p.top-b-acc__amount');
input.innerText = 1;

if you don't know the css selector rule,right click the elements item in the inspector and select the copy——copy selector,it may work usually

جاۋاب قايتۇرۇش

جاۋاب قايتۇرۇش ئۈچۈن كىرىش.

长期地址
遇到问题?请前往 GitHub 提 Issues。