how to redirect to another page in jquery with post data code example
Example: redirect with data jquery
$.redirect('demo.php', {'arg1': 'value1', 'arg2': 'value2'});
$.redirect('demo.php', {'arg1': 'value1', 'arg2': 'value2'});