So there's this hyperlink - it's happy being a hyperlink - it does not want to change to a button or a form element - it wants to stay a link!
But it would really help me if I could submit it via GET or POST (something which I switch on my pages due to design criteria). Is there ANY way that I can do this
thanks Giles
You're in luck... clicking a hyperlink already does a GET request.
If you want to add query parameters, append them to the query string like so:
<a href="/my/page/foo.php?onions=no&pickles=yes">link text</a>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With