0
<script type="text/javascript">

(function($){
    $(function(){
        $("#frmmsg").submit(function(e){
            e.preventDefault();

            $.post( 'templatemsg.php', $("#frmmsg").serialize(), function(){ 
                document.location.reload();

            });
        });
    });     

})(jQuery);



</script>
3
Contributors
3
Replies
13
Views
3 Years
Discussion Span
Last Post by JorgeM
0

You can try..

window.location.href = window.location.href

If you use window.location.reload(), this will reload the current page including POST data so that may be something you need to consider.

If you can be a bit more descriptive in your posts, you are more likely to get better guidance in the answers you receive.

Edited by JorgeM

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.