<html>
<head>
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script>
$('#button1').click(function(){
$("a").removeAttr('href');
});
});
</script>
</head>
<body>
<a
href="https://www.amazon.in">JQuery Practical</a>
<p></p>
<input
id="button1" type="button" value="Click to remove the
link!" />
</body>
</html>