js redirect to page with post action and input data code example Example: redirect with data jquery $.redirect('demo.php', {'arg1': 'value1', 'arg2': 'value2'});