Con un submit non serve onclick='...', toglilo