Use .on('click'), not onSubmit