What is wrong with this code? <code>$(document).ready(function() { $("#f_submit").hide(); $("#f_altsubmit").click(function(event) { $("#checkoutform")[0].submit(); return false; }); });</code>
In FF3 this throws an error in the Error console : Error: $("form") [0].submit is not a function but this error does not show up in Firebug. Also what is strange is that when i change the method from submit() to reset() ... the reset works ... It seems my form doesn't have the submit method in FF3???? See for yourself at http://dev.rotarygiftshop.com/cart/checkout