window.parent.location.href= "http://www.google.com";
Dan,
This is now resolved, I've updated your test page successfully.
Here's the code(place in a custom html block on the Marketo page) that should be used for iframing Mkto pages/forms .
<script>
function setupFormSuccess (){
var form = MktoForms2.getForm(update with form id);
if(!form){
setTimeout(setupFormSuccess, 500);
}else{
form.onSuccess(function (values, url){
window.top.location.href = url;
return false;
});
}
}
setupFormSuccess();
</script>