The easiest way to refresh a page is: to use "location.reload();" Example: $( document ).ready( function () { $( '#template_add' ).click( function (){ var textarea = $( '#textarea' ).val(); var tag = $( '#template_tag' ).val(); $.ajax({ url: '/templates/addtemplate' , type: "POST" , data: {text: textarea,temp_tag: tag}, success: function ( data ) { location.reload(); } }); }); }); It is very easy process, let me know if you have any issues.