This works: jsFiddle
javascript:
function testfunc() { alert('Submit Clicked'); setTimeout(function() { window.location.href = ('http://ct.athiel.ca'); alert('Redirect attempted'); }, 1); jQuery('form#getaQuote').submit(); alert('Form submit attempted');}