<script src=”https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js”>
</script>
To use jquery method we need jquery library.Then we add a click method for that.Inside click method we slidely remove the button.
<script>
$(‘#btn’).click(function(){
$(‘#rmv_div’).slideUp(1000).delay(1000);
});
</script>
Question and answer is powered by AnsPress.io