Using Javascript to change CSS for URL -
I have a URL in my html as I have seen the URL I have disabled below
& lt; One style = "pointer-phenomena: none; color: RGB (44, 89, 159);" Href = "https://www.google.com/" id = "successes" & gt; Link & lt; / A & gt;
I am trying to reactivate the link via javascript. I tried the code below, but when I did not load the page properly, no one knows what I'm doing, what I do wrong or better to deactivate / activate the link Am I
document.getElementById ('successfactors'). Style.pointer-events = 'auto';
Use:
document.getElementById ( 'Stylefinders'). Style.pointerEvents = 'auto';
Styles use camel case, because identifiers can not have hyphens.
Comments
Post a Comment