Enable a disabled element through javascript .value = text

52 Views Asked by At

I want to bid on a collection through Javascripts .value function. When I enter a number in the price section through:

textObject.value = number

The "Make offer" Element of the website is still disabled so I cant proceed with the process. Is this something the website is preventing or why is the Make Offer button still disabled after entering a value with .value?

enter image description here

The website mentioned is opensea.io. If you are familiar with the web3 space you could reproduce my problem there if not I have found a similiar usecase on Twitter logins. When Logging into Twitter the first thing asked is the username. After entering the username you need to enter the password and the website element "Log in" is disabled as long as nothing is entered in the password element. However if we enter a password through textObject.value = text we get the same problem like before. The "Log in" element is still disabled.

enter image description here

Thanks in advance.

As I said you can reproduce the problem on Twitter logins or possibly every other website login structured with a disabled element, which needs a input in username / password to be enabled.

0

There are 0 best solutions below