I need to disable a link in the HTML file. Can we do this using JavaScript?
<style> .disabledLink{ /*Disabled link style*/ color:black; } </style> <a class="disabledLink" href="javascript:void(0)">Your disabled link</a>
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments