I am trying to get the click event of a submit button on my form...
You might haven't included the jquery library in your code!
src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js">