Friday 7 May 2021

JQUERY29

 

<html>

<head>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>

<script>

 $(document).ready(function(){

$('#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>