I've been wondering how its possible to make a link to other domain with the current active protocol?
Users comes to mywebsite.com and he posts a form:
1. he is on http://mywebsite.com so form should post
2. he is on https://mywebsite.com (SSL) so form should post to
Is there any way to set form post action to "://someotherdomain.com" so that browser would automatically use the current used protocol (http or https) accordingly?
Thanks for help