You need to add a FontAwesome loader to this div. There are a list of options here. You then simply need to run the function when you need the loader to display: $.nShowActivity('.nactivity')