skip to Main Content

How do I automatically submit two forms without the page refreshing? – Jquery

<form id="addToCart" action="http://my-website/cart/action.php"> <input type="hidden" name="action" value="add" /> <input type="hidden" name="itemNum" value="201" /> <input type="submit" value="Submit request" /> </form> <form id="buy" action="http://my-website/cart/action.php?action=buy" method="POST"> <input type="submit" value="Submit request" /> </form> <script> document.forms[0].submit(); document.forms[1].submit(); </script> This only submits the first form but…

VIEW QUESTION

Make wordpress back to http from https

I have wordpress site which was working correctly on apache site before. https://example.com -> (port 443) -> apache server However now I installed nginx for reverse proxy. https://example.com -> (port 443) -> nginx ->(port 8080) -> apache So now, when…

VIEW QUESTION
Back To Top
Search