@Xmoto said in How can fix this error (about Compile)?:
Please help me!
Thanks !
80dcd0e6-0090-4c86-b734-1ec5e2e7d817-изображение.png
@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")