Skip to content Skip to sidebar Skip to footer

Manually Typing Vs Setting Value In Js

I'm trying to create a bot for kahoot.it that spams the game/lobby with bot players and I'm stuck at trying to enter the lobby number. When I manually type in the number and then e

Solution 1:

"What is the difference between typing it and setting the value in js?"

You might be getting a string if you type it in a input box. On the other hand, setting the value would assign a number.

Solution 2:

The site is using a framework called AngularJS, which updates its model for what the input is doing with a method called ng-change that does not update when the input value is set through javascript. You can check out this SO question for more information, or this one. I'm sure its possible to spoof but it would take more knowledge of angular's interiors than I have. – @Matt O'Tousa

Post a Comment for "Manually Typing Vs Setting Value In Js"