The way Firefox warns; saying you re-submit the form with the post method.
below the workaround worked for me.
<form id="yourDummyform" method="post" action="yourPostActionURL?var1=val1&var2=val2"> </form>
Success of ajax call or some do event
$("#yourDummyform").submit();
source share