Showing Spinner on the element clicked by User

Is there a way to show spinner on the element or beside it whenever user performs a click on it.

You can use javascript or jQuery for this.

Refer Link : link




$( "#Your_element" ).click(function() {

  $("#spinner").show();

});