[SOLVED] Joomla jquery ajax error (<base> is the culpr
Hi,
I'm having this weirdness:
I created a simple feedback script here:
http://www.romanceculture.com/feedbackAjax.html
It calls a php script which mails me the feedback. That works fine.
However, after I embedd the exactly same script + html into the final page, the script doesn't work anymore.
The embedded script is here:
http://www.romanceculture.com
When I now click on send, the page reloads and the URL says:
"http://www.romanceculture.com/?submit=send"
Also there's no email sent to me. Since the success function is not called I assume there was some problem, but not sure how to track down what exactly. Any clues anyone?
-vinh
UPDATE:
I found out that the problem lies in the following joomla call:
-
<?php mosShowHead(); ?>
It generates a base tag which is in my case:
<base href="http
s://www.romanceculture.com/" />
This is a problem when the page is viewed without SSL (i.e. accessed via "http://www.romanceculture.com")