Adding event.preventDefault(); to Subscribe by email


On my clients website, we have added the Subscribe by email shortcode in the middle of the page. However, when the user make the signup it jumps to the top of the page.

In order for the user to see the confirmation or error message, he/she has to scroll all the way down to the section with the shortcode again.

Why not use a simple event.preventDefault(); jQuery code, to solve this issue?