Why don’t you just call the function you want to perform? If you need the form to be submitted why call preventDefault?