@Fox
d79e653c-983c-4f27-8c5c-d0eadc4b30e4-image.png
Thank you, my brother, your actions are really extraordinary and able to solve my problem according to my expectations, once again thank you, my brother.
@Drunk said in How can I remove an attribute from element ?:
Hello, I want to remove an attribute from element, Like this image https://imgur.com/a/km3f9y6 , I want to remove " disabled ", I tried to do it in java script, But I couldn't do it, I used this code ( document.getElementsByClassName('red-button-disabled').removeAttribute("disabled");
But it didn't work and it gave me alot of errors like ( TypeError: document.getElementsByClassName(...).removeAttribute is not a function ), So please help me with that, Thanks.
Use the "Execute Javascript On Element" action on the required element, with the code:
self.removeAttribute("disabled")