Hi jfvwork
I’ve put it in my JavaScript/jQuery file where all my JavaScript and jQuery is.
You could also place it in your header.php file like so –
<script type="text/javascript">
jQuery('.simplefavorite-button').click(function(event) {
jQuery(document).ajaxSuccess(function() {
location.reload();
});
});
</script>
I would reccomend you put it within your site’s js file though.