I am working on what would appear to be a basic contact form. I am using the ColorBox plugin for jQuery to build a form with an image link, which then opens a ColorBox containing the reCAPTCHA form and the submit button for the form.
This code works perfectly in IE7 upwards, and even works to an extent in IE6, yet in Firefox, Opera and Chrome when I click the submit button it appears to remove the entire page as if it were going through an actual link.
I'm sure I'm making a really silly mistake here somewhere, so could someone have a quick look at my code and see where I'm going wrong? This problem has been bugging me for a while now and it's halting my progress with a lot of other stuff.
EDIT: Silly me! I just realised that I hadn't even included the URL! Here's the shortened one I've been passing around on IRC...
EDIT 2: When the ColorBox is opened the following code is "displayed", according to View Source.
<script type="text/javascript" src="http://www.google.com/recaptcha/api/js/recaptcha.js"></script><div id="recaptcha_widget_div" style="display:none"></div><script>Recaptcha.widget = Recaptcha.$("recaptcha_widget_div"); Recaptcha.challenge_callback();</script><div id="recaptcha_widget_div" style="display:none"></div><script>Recaptcha.widget = Recaptcha.$("recaptcha_widget_div"); Recaptcha.challenge_callback();</script>