Suppose you have link in html as shown below with id = 'linkClass'
<a href="link.html" class="linkClass">Link
, write following lines as css code
.{linkClass
pointer-events: none;
cursor: default;
}
Now your link is disabled.
Making developer's life easy
Suppose you have link in html as shown below with id = 'linkClass'
<a href="link.html" class="linkClass">Link
, write following lines as css code
.{linkClass
pointer-events: none;
cursor: default;
}
Now your link is disabled.
He is a Salesforce Certified Application Architect having 11+ years of experience in Salesforce. View more posts